Evaluation Error
class EvaluationError(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, errorType: EvaluationError.Type, extraData: Term?) : PrologError
Content copied to clipboard
The evaluation error occurs when some problem occurs in evaluating an arithmetic expression
Author
Enrico
Parameters
message
the detail message string.
cause
the cause of this exception.
contexts
a stack of contexts localising the exception
errorType
The error type
extraData
The possible extra data to be carried with the error
Constructors
EvaluationError
Link copied to clipboard
fun EvaluationError(message: String? = null, cause: Throwable? = null, context: ExecutionContext, errorType: EvaluationError.Type, extraData: Term? = null)
Content copied to clipboard
EvaluationError
Link copied to clipboard
fun EvaluationError(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>, errorType: EvaluationError.Type, extraData: Term? = null)
Content copied to clipboard
the detail message string.
Types
Functions
pushContext
Link copied to clipboard
open override fun pushContext(newContext: ExecutionContext): EvaluationError
Content copied to clipboard
updateContext
Link copied to clipboard
open override fun updateContext(newContext: ExecutionContext, index: Int): EvaluationError
Content copied to clipboard
updateLastContext
Link copied to clipboard
open override fun updateLastContext(newContext: ExecutionContext): EvaluationError
Content copied to clipboard
Properties
context
Link copied to clipboard
contexts
Link copied to clipboard
errorStruct
Link copied to clipboard
errorType
Link copied to clipboard
prologStackTrace
Link copied to clipboard