Package org.smtlib
Class ISolver.CreationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.smtlib.ISolver.CreationException
- All Implemented Interfaces:
Serializable
- Enclosing interface:
ISolver
Thrown by
SMT.Configuration.createSolver(java.lang.String, java.lang.String) when a solver adapter cannot be
resolved, constructed, or fails to launch. Checked (unlike, say, an unchecked
reflection failure) so that a library caller of createSolver must
explicitly confront and handle a solver-creation failure rather than have it
silently propagate, matching the existing precedent of IParser.ParserException
for "the caller must handle this" conditions in this codebase.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreationException(String msg) Creates a creation exception with the given message.CreationException(String msg, Throwable cause) Creates a creation exception with the given message and underlying cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CreationException
Creates a creation exception with the given message. -
CreationException
Creates a creation exception with the given message and underlying cause.
-