System Error
class SystemError(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, extraData: Term?) : PrologError
Content copied to clipboard
The system error occurs when an internal problem occurred and if not caught, it will halt inferential machine
Author
Enrico
Parameters
message
the detail message string.
cause
the cause of this exception.
contexts
a stack of contexts localising the exception
extraData
The possible extra data to be carried with the error
Constructors
SystemError
Link copied to clipboard
fun SystemError(message: String? = null, cause: Throwable? = null, context: ExecutionContext, extraData: Term? = null)
Content copied to clipboard
SystemError
Link copied to clipboard
fun SystemError(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>, extraData: Term? = null)
Content copied to clipboard
the detail message string.
Types
Functions
pushContext
Link copied to clipboard
updateContext
Link copied to clipboard
open override fun updateContext(newContext: ExecutionContext, index: Int): SystemError
Content copied to clipboard
updateLastContext
Link copied to clipboard
open override fun updateLastContext(newContext: ExecutionContext): SystemError
Content copied to clipboard
Properties
context
Link copied to clipboard
contexts
Link copied to clipboard
errorStruct
Link copied to clipboard
prologStackTrace
Link copied to clipboard