Halt Exception
class HaltException(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, exitStatus: Int) : TuPrologRuntimeException
Content copied to clipboard
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
HaltException
Link copied to clipboard
fun HaltException(message: String? = null, cause: Throwable? = null, context: ExecutionContext, exitStatus: Int = 0)
Content copied to clipboard
HaltException
Link copied to clipboard
fun HaltException(cause: Throwable?, context: ExecutionContext, exitStatus: Int = 0)
Content copied to clipboard
HaltException
Link copied to clipboard
fun HaltException(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>, exitStatus: Int = 0)
Content copied to clipboard
the detail message string.
Functions
pushContext
Link copied to clipboard
open override fun pushContext(newContext: ExecutionContext): HaltException
Content copied to clipboard
updateContext
Link copied to clipboard
open override fun updateContext(newContext: ExecutionContext, index: Int): HaltException
Content copied to clipboard
updateLastContext
Link copied to clipboard
open override fun updateLastContext(newContext: ExecutionContext): HaltException
Content copied to clipboard
Properties
context
Link copied to clipboard
contexts
Link copied to clipboard
exitStatus
Link copied to clipboard
prologStackTrace
Link copied to clipboard