InitializationIssue
class InitializationIssue(val goal: Struct, val cause: ResolutionException? = null, contexts: Array<ExecutionContext>) : Warning
A Warning reported when solving an initialization goal (i.e. a directive, or a clause loaded while partitioning a it.unibo.tuprolog.theory.Theory's static/dynamic clauses at knowledge-base load time) does not succeed -- either because it failed outright (no cause) or because it halted with cause.
Raised instead of aborting the whole knowledge-base loading process, so that a single misbehaving directive does not prevent the rest of the theory from being loaded.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Creates a new exception instance with the context with in position index updated to newContext. Subclasses should override this method and return the correct instance.
Link copied to clipboard