org.jruby.exceptions
Class JumpException.FlowControlException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jruby.exceptions.JumpException
                  extended by org.jruby.exceptions.JumpException.FlowControlException
All Implemented Interfaces:
java.io.Serializable, Unrescuable
Direct Known Subclasses:
JumpException.BreakJump, JumpException.NextJump, JumpException.RedoJump, JumpException.RetryJump, JumpException.ReturnJump, JumpException.SpecialJump
Enclosing class:
JumpException

public static class JumpException.FlowControlException
extends JumpException
implements Unrescuable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.exceptions.JumpException
JumpException.BreakJump, JumpException.FlowControlException, JumpException.NextJump, JumpException.RedoJump, JumpException.RetryJump, JumpException.ReturnJump, JumpException.SpecialJump
 
Field Summary
protected  RubyLocalJumpError.Reason reason
           
protected  int target
           
protected  java.lang.Object value
           
 
Fields inherited from class org.jruby.exceptions.JumpException
REDO_JUMP, RETRY_JUMP, SPECIAL_JUMP
 
Constructor Summary
JumpException.FlowControlException(RubyLocalJumpError.Reason reason)
           
JumpException.FlowControlException(RubyLocalJumpError.Reason reason, int target, java.lang.Object value)
           
 
Method Summary
 RaiseException buildException(Ruby runtime)
           
 int getTarget()
           
 java.lang.Object getValue()
           
 void setTarget(int target)
           
 void setValue(java.lang.Object 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
 

Field Detail

target

protected int target

value

protected java.lang.Object value

reason

protected final RubyLocalJumpError.Reason reason
Constructor Detail

JumpException.FlowControlException

public JumpException.FlowControlException(RubyLocalJumpError.Reason reason)

JumpException.FlowControlException

public JumpException.FlowControlException(RubyLocalJumpError.Reason reason,
                                          int target,
                                          java.lang.Object value)
Method Detail

getTarget

public int getTarget()

setTarget

public void setTarget(int target)

getValue

public java.lang.Object getValue()

setValue

public void setValue(java.lang.Object value)

buildException

public RaiseException buildException(Ruby runtime)


Copyright © 2002-2009 JRuby Team. All Rights Reserved.