HaltException
class HaltException(val exitStatus: Int = 0, message: String? = "Resolution has been halted with exit code ", cause: Throwable? = null, contexts: Array<ExecutionContext>) : ResolutionException
An exception thrown if there are problems during state machine execution, and solution process should be halted
Author
Enrico
Parameters
message
the detail message string.
cause
the cause of this exception.
contexts
a stack of contexts localising the exception
exitStatus
The integer code representing the exit status code; it defaults to 0
Constructors
Link copied to clipboard
constructor(exitStatus: Int = 0, message: String? = "Resolution has been halted with exit code ", cause: Throwable? = null, contexts: Array<ExecutionContext>)
constructor(exitStatus: Int = 0, message: String? = "Resolution has been halted with exit code ", cause: Throwable? = null, context: ExecutionContext)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Creates a new exception instance with the context with in position index updated to newContext. Subclasses should override this method and return the correct instance.
Link copied to clipboard