Existence Error
class ExistenceError(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, expectedObject: ExistenceError.ObjectType, culprit: Term, extraData: Term?) : PrologError
Content copied to clipboard
The existence error occurs when an object on which an operation is to be performed does not exist
Parameters
message
the detail message string.
cause
the cause of this exception.
contexts
a stack of contexts localising the exception
expectedObject
The type of the missing object
culprit
The object whose lack caused the error
extraData
The possible extra data to be carried with the error
Constructors
ExistenceError
Link copied to clipboard
fun ExistenceError(message: String? = null, cause: Throwable? = null, context: ExecutionContext, expectedObject: ExistenceError.ObjectType, actualValue: Term, extraData: Term? = null)
Content copied to clipboard
ExistenceError
Link copied to clipboard
fun ExistenceError(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>, expectedObject: ExistenceError.ObjectType, culprit: Term, extraData: Term? = null)
Content copied to clipboard
the detail message string.
Types
Functions
pushContext
Link copied to clipboard
open override fun pushContext(newContext: ExecutionContext): ExistenceError
Content copied to clipboard
updateContext
Link copied to clipboard
open override fun updateContext(newContext: ExecutionContext, index: Int): ExistenceError
Content copied to clipboard
updateLastContext
Link copied to clipboard
open override fun updateLastContext(newContext: ExecutionContext): ExistenceError
Content copied to clipboard
Properties
context
Link copied to clipboard
contexts
Link copied to clipboard
errorStruct
Link copied to clipboard
expectedObject
Link copied to clipboard
prologStackTrace
Link copied to clipboard