Package rife.continuations.exceptions
Class ContinuableLocalVariableUncloneableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.CloneNotSupportedException
rife.continuations.exceptions.ContinuableLocalVariableUncloneableException
- All Implemented Interfaces:
Serializable
Thrown when a local variable in a
ContinuationStack
couldn't be cloned when a continuation is resumed.- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionContinuableLocalVariableUncloneableException
(Class continuableClass, String localVarType, Throwable cause) Instantiates a new exception. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the class of the continuable that contains an unclonable local variable.The type of the local variable that can't be cloned.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
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 variablelocalVarType
- the type of the local variablecause
- the cause of the retrieval failure; ornull
if there was no exception cause- Since:
- 1.0
-
-
Method Details
-
getContinuableClass
Retrieves the class of the continuable that contains an unclonable local variable.- Returns:
- the class of the continuable
- Since:
- 1.0
-
getLocalVarType
The type of the local variable that can't be cloned.- Returns:
- the type of the local variable
- Since:
- 1.0
-