Time Out Exception
class TimeOutException(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, exceededDuration: TimeDuration) : TuPrologRuntimeException
Content copied to clipboard
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
fun TimeOutException(message: String? = null, cause: Throwable? = null, context: ExecutionContext, exceededDuration: TimeDuration)
Content copied to clipboard
TimeOutException
Link copied to clipboard
fun TimeOutException(cause: Throwable?, context: ExecutionContext, exceededDuration: TimeDuration)
Content copied to clipboard
TimeOutException
Link copied to clipboard
fun TimeOutException(message: String? = null, cause: Throwable? = null, contexts: Array<ExecutionContext>, exceededDuration: TimeDuration)
Content copied to clipboard
the detail message string.
Functions
pushContext
Link copied to clipboard
open override fun pushContext(newContext: ExecutionContext): TimeOutException
Content copied to clipboard
updateContext
Link copied to clipboard
open override fun updateContext(newContext: ExecutionContext, index: Int): TimeOutException
Content copied to clipboard
updateLastContext
Link copied to clipboard
open override fun updateLastContext(newContext: ExecutionContext): TimeOutException
Content copied to clipboard
Properties
context
Link copied to clipboard
contexts
Link copied to clipboard
exceededDuration
Link copied to clipboard
prologStackTrace
Link copied to clipboard