com.uwyn.rife.continuations.exceptions
Class StepBackException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by com.uwyn.rife.tools.exceptions.LightweightError
              extended by com.uwyn.rife.continuations.exceptions.StepBackException
All Implemented Interfaces:
ControlFlowRuntimeException, Serializable

public class StepBackException
extends LightweightError
implements ControlFlowRuntimeException

This exception will be thrown when a stepback continuation is triggered.

Since:
1.6
Version:
$Revision: 3813 $
Author:
Geert Bevin (gbevin[remove] at uwyn dot com)
See Also:
Serialized Form

Constructor Summary
StepBackException(ContinuationContext context)
          [PRIVATE AND UNSUPPORTED] Instantiates a new stepback exception.
 
Method Summary
 ContinuationContext getContext()
          Retrieves the context of this stepback continuation.
 String lookupStepBackId()
          Looks up the ID of the target continuation of the stepback.
 
Methods inherited from class com.uwyn.rife.tools.exceptions.LightweightError
fillInStackTrace, getStackTrace, getUseFastExceptions, setUseFastExceptions
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, 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

StepBackException

public StepBackException(ContinuationContext context)
[PRIVATE AND UNSUPPORTED] Instantiates a new stepback exception.

This is used by the instrumented bytecode that provides continuations support, it's not intended for general use.

Parameters:
context - the active continuation context
Since:
1.6
Method Detail

getContext

public ContinuationContext getContext()
Retrieves the context of this stepback continuation.

Returns:
this stepback continuation's context
Since:
1.6

lookupStepBackId

public String lookupStepBackId()
Looks up the ID of the target continuation of the stepback.

Returns:
the target continuation ID of the stepback; or

null if the target continuation couldn't be found

Since:
1.6


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.