TimeOutException

class TimeOutException(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, exceededDuration: TimeDuration) : TuPrologRuntimeException

Exception thrown if time for execution finished, before completion of solution process

Author

Enrico

Parameters

message

the detail message string.

cause

the cause of this exception.

contexts

a stack of contexts localising the exception

exceededDuration

The time duration exceeded

Constructors

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

Functions

pushContext
Link copied to clipboard
common
open override fun pushContext(newContext: ExecutionContext): TimeOutException
updateContext
Link copied to clipboard
common
open override fun updateContext(newContext: ExecutionContext, index: Int): TimeOutException
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): TimeOutException

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
exceededDuration
Link copied to clipboard
common
val exceededDuration: TimeDuration
The time duration exceeded
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