Representation Error
class RepresentationError(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, limit: RepresentationError.Limit, extraData: Term?) : PrologError
Content copied to clipboard
A representation error occurs when an implementation limit has been breached
Parameters
message
the detail message string.
cause
the cause of this exception.
contexts
a stack of contexts localising the exception
limit
the name of the reached limit
extraData
the possible extra data to be carried with the error
Constructors
RepresentationError
Link copied to clipboard
fun RepresentationError(message: String? = null, cause: Throwable? = null, context: ExecutionContext, limit: RepresentationError.Limit, extraData: Term? = null)
Content copied to clipboard
RepresentationError
Link copied to clipboard
fun RepresentationError(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>, limit: RepresentationError.Limit, extraData: Term? = null)
Content copied to clipboard
the detail message string.
Types
Functions
pushContext
Link copied to clipboard
open override fun pushContext(newContext: ExecutionContext): RepresentationError
Content copied to clipboard
updateContext
Link copied to clipboard
open override fun updateContext(newContext: ExecutionContext, index: Int): RepresentationError
Content copied to clipboard
updateLastContext
Link copied to clipboard
open override fun updateLastContext(newContext: ExecutionContext): RepresentationError
Content copied to clipboard
Properties
context
Link copied to clipboard
contexts
Link copied to clipboard
errorStruct
Link copied to clipboard
limit
Link copied to clipboard
prologStackTrace
Link copied to clipboard