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

public static class ISolver.CreationException extends Exception
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 Details

    • CreationException

      public CreationException(String msg)
      Creates a creation exception with the given message.
    • CreationException

      public CreationException(String msg, Throwable cause)
      Creates a creation exception with the given message and underlying cause.