com.uwyn.rife.continuations.exceptions
Class ContinuableLocalVariableUncloneableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.CloneNotSupportedException
              extended by com.uwyn.rife.continuations.exceptions.ContinuableLocalVariableUncloneableException
All Implemented Interfaces:
Serializable

public class ContinuableLocalVariableUncloneableException
extends CloneNotSupportedException

Thrown when a local variable in a ContinuationStack couldn't be cloned when a continuation is resumed.

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

Constructor Summary
ContinuableLocalVariableUncloneableException(Class continuableClass, String localVarType, Throwable cause)
          Instantiates a new exception.
 
Method Summary
 Class getContinuableClass()
          Retrieves the class of the continuable that contains an unclonable local variable.
 String getLocalVarType()
          The type of the local variable that can't be cloned.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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

ContinuableLocalVariableUncloneableException

public ContinuableLocalVariableUncloneableException(Class continuableClass,
                                                    String localVarType,
                                                    Throwable cause)
Instantiates a new exception.

Parameters:
continuableClass - the class of the continuable that contains an unclonable local variable
localVarType - the type of the local variable
cause - the cause of the retrieval failure; or

null if there was no exception cause

Since:
1.6
Method Detail

getContinuableClass

public Class getContinuableClass()
Retrieves the class of the continuable that contains an unclonable local variable.

Returns:
the class of the continuable
Since:
1.6

getLocalVarType

public String getLocalVarType()
The type of the local variable that can't be cloned.

Returns:
the type of the local variable
Since:
1.6


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