Class ContinuableLocalVariableUncloneableException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.CloneNotSupportedException
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.0
See Also:
  • 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 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.0
  • Method Details

    • getContinuableClass

      public Class getContinuableClass()
      Retrieves the class of the continuable that contains an unclonable local variable.
      Returns:
      the class of the continuable
      Since:
      1.0
    • getLocalVarType

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