java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
technology.sola.script.parser.Stmt.Return.Exception
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Stmt.Return
Return is an exception utilized by the
Interpreter to throw when
a Stmt.Return is being interpreted so that the wrapping
SolaScriptFunction can catch it and return the value as the result
of the Expr.Call.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
value
The value returned by theStmt.Return.
-
-
Constructor Details
-
Exception
Creates an instance of this exception with desired return value.- Parameters:
value- the return value of the call
-