Package it.unibo.tuprolog.solve.exception

Types

HaltException
Link copied to clipboard
common
class HaltException(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, exitStatus: Int) : TuPrologRuntimeException
An exception thrown if there are problems during state machine execution, and solution process should be halted
PrologError
Link copied to clipboard
common
abstract class PrologError(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, type: Struct, extraData: Term?) : TuPrologRuntimeException
Base class for Standard Prolog Errors and possibly other custom Primitive errors
PrologWarning
Link copied to clipboard
common
abstract class PrologWarning(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>) : TuPrologRuntimeException
Base class for Prolog warnings
TimeOutException
Link copied to clipboard
common
class TimeOutException(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>, exceededDuration: TimeDuration) : TuPrologRuntimeException
Exception thrown if time for execution finished, before completion of solution process
TuPrologRuntimeException
Link copied to clipboard
common
open class TuPrologRuntimeException(message: String?, cause: Throwable?, contexts: Array<ExecutionContext>) : TuPrologException
An exception that could occur during Solver execution