java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.bzdev.math.MathException
org.bzdev.math.RootFinder.ConvergenceException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RootFinder<P>
RootFinder exception class.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.Constructs a new convergence exception with the specified detailed message.ConvergenceException
(String msg, Throwable cause) Constructs a new convergence exception with the specified detailed message and cause.ConvergenceException
(Throwable cause) Constructs a new convergence exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of 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
-
ConvergenceException
public ConvergenceException()Constructor. Constructs a new convergence exception. The cause is not initialized, and may subsequently be initialized by a call toinitCause
. -
ConvergenceException
Constructs a new convergence exception with the specified detailed message. The cause is not initialized, and may subsequently be initialized by a call toinitCause
.- Parameters:
msg
- the detail message; the detail message is saved for later retrieval by a call toThrowable.getMessage()
-
ConvergenceException
Constructs a new convergence exception with the specified detailed message and cause. The cause is not initialized, and may subsequently be initialized by a call toinitCause
.- Parameters:
msg
- the detail message; the detail message is saved for later retrieval by a call toThrowable.getMessage()
cause
- the cause
-
ConvergenceException
Constructs a new convergence exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause). This constructor is useful for convergence exceptions that are little more than wrappers for other throwables.- Parameters:
cause
- the cause; null if the cause is nonexistent or unknown
-