PrologWarning

abstract class PrologWarning(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>) : TuPrologRuntimeException

Base class for Prolog warnings

Author

Giovanni

Parameters

message

the detail message string.

cause

the cause of this exception.

contexts

a stack of contexts localising the exception

Constructors

PrologWarning
Link copied to clipboard
common
fun PrologWarning(message: String? = null, cause: Throwable? = null, context: ExecutionContext)
PrologWarning
Link copied to clipboard
common
fun PrologWarning(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>)
the detail message string.

Functions

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

Properties

cause
Link copied to clipboard
common
open override val cause: Throwable?
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
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

Inheritors

InitializationIssue
Link copied to clipboard
MissingPredicate
Link copied to clipboard