Class SolverException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.apache.commons.numbers.rootfinder.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 theformat()
method fromString
.
-
-
-
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 theformat()
method fromString
.- Parameters:
message
- the exception message with replaceable parametersformatArguments
- the arguments for formatting the message- See Also:
String.format(String, Object...)
-
-