Class SolverException

  • All Implemented Interfaces:
    java.io.Serializable

    class SolverException
    extends java.lang.IllegalArgumentException
    Package private exception class with constants for frequently used messages.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.lang.String BRACKETING
      Error message for "failed bracketing" condition.
      (package private) static java.lang.String OUT_OF_RANGE
      Error message for "out of range" condition.
      private static long serialVersionUID
      Serializable version identifier.
      (package private) static java.lang.String TOO_LARGE
      Error message for "too large" condition.
    • Constructor Summary

      Constructors 
      Constructor Description
      SolverException​(java.lang.String message, java.lang.Object... formatArguments)
      Create an exception where the message is constructed by applying the format() method from String.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • TOO_LARGE

        static final java.lang.String TOO_LARGE
        Error message for "too large" condition.
        See Also:
        Constant Field Values
      • OUT_OF_RANGE

        static final java.lang.String OUT_OF_RANGE
        Error message for "out of range" condition.
        See Also:
        Constant Field Values
      • BRACKETING

        static final java.lang.String BRACKETING
        Error message for "failed bracketing" condition.
        See Also:
        Constant Field Values
      • serialVersionUID

        private static final long serialVersionUID
        Serializable version identifier.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SolverException

        SolverException​(java.lang.String message,
                        java.lang.Object... formatArguments)
        Create an exception where the message is constructed by applying the format() method from String.
        Parameters:
        message - the exception message with replaceable parameters
        formatArguments - the arguments for formatting the message
        See Also:
        String.format(String, Object...)