Class ReturnException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.sk89q.worldedit.internal.expression.invoke.ReturnException
All Implemented Interfaces:
Serializable

public class ReturnException extends RuntimeException
Thrown when a return is encountered, to pop the stack frames and return the value easily.

Should be caught by the executor.

See Also:
  • Constructor Details

    • ReturnException

      public ReturnException(Double result)
  • Method Details

    • getResult

      public Double getResult()