Prolog Error
abstract class PrologError(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, type: Struct, extraData: Term?) : TuPrologRuntimeException
Content copied to clipboard
Base class for Standard Prolog Errors and possibly other custom Primitive errors
Author
Giovanni
Enrico
Parameters
message
the detail message string.
cause
the cause of this exception.
contexts
a stack of contexts localising the exception
type
The error type structure
extraData
The possible extra data to be carried with the error
Constructors
PrologError
Link copied to clipboard
fun PrologError(message: String? = null, cause: Throwable? = null, context: ExecutionContext, type: Struct, extraData: Term? = null)
Content copied to clipboard
PrologError
Link copied to clipboard
fun PrologError(cause: Throwable?, context: ExecutionContext, type: Struct, extraData: Term? = null)
Content copied to clipboard
PrologError
Link copied to clipboard
fun PrologError(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>, type: Struct, extraData: Term? = null)
Content copied to clipboard
the detail message string.
Types
Functions
pushContext
Link copied to clipboard
abstract override fun pushContext(newContext: ExecutionContext): PrologError
Content copied to clipboard
updateContext
Link copied to clipboard
abstract override fun updateContext(newContext: ExecutionContext, index: Int): PrologError
Content copied to clipboard
updateLastContext
Link copied to clipboard
abstract override fun updateLastContext(newContext: ExecutionContext): PrologError
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
Inheritors
DomainError
Link copied to clipboard
EvaluationError
Link copied to clipboard
ExistenceError
Link copied to clipboard
InstantiationError
Link copied to clipboard
MessageError
Link copied to clipboard
PermissionError
Link copied to clipboard
RepresentationError
Link copied to clipboard
SyntaxError
Link copied to clipboard
SystemError
Link copied to clipboard
TypeError
Link copied to clipboard