|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jruby.exceptions.JumpException
org.jruby.exceptions.ReturnJump
The ReturnException is thrown if a 'return' statement is interpreted.
Constructor Summary | |
ReturnJump(IRubyObject returnValue)
Creates a new ReturnException with a return value. |
Method Summary | |
IRubyObject |
getReturnValue()
Returns the return value. |
Methods inherited from class org.jruby.exceptions.JumpException |
fillInStackTrace, originalFillInStackTrace |
Methods inherited from class java.lang.Throwable |
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ReturnJump(IRubyObject returnValue)
returnValue
- The return value.Method Detail |
public IRubyObject getReturnValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |