InitializationIssue

class InitializationIssue(goal: Struct, cause: TuPrologRuntimeException?, contexts: Array<ExecutionContext>) : PrologWarning

Constructors

InitializationIssue
Link copied to clipboard
common
fun InitializationIssue(goal: Struct, cause: TuPrologRuntimeException? = null, context: ExecutionContext)

Functions

pushContext
Link copied to clipboard
common
open override fun pushContext(newContext: ExecutionContext): InitializationIssue
updateContext
Link copied to clipboard
common
open override fun updateContext(newContext: ExecutionContext, index: Int): InitializationIssue
Creates a new exception instance with the context with in position index updated to newContext.
updateLastContext
Link copied to clipboard
common
open override fun updateLastContext(newContext: ExecutionContext): InitializationIssue

Properties

cause
Link copied to clipboard
common
open override val cause: TuPrologRuntimeException? = null
context
Link copied to clipboard
common
val context: ExecutionContext
contexts
Link copied to clipboard
common
val contexts: Array<ExecutionContext>
a stack of contexts localising the exception
goal
Link copied to clipboard
common
val goal: Struct
message
Link copied to clipboard
common
open override val message: String?
prologStackTrace
Link copied to clipboard
common
val prologStackTrace: List<Struct>
The exception stacktrace; shorthand for context.prologStackTrace