Package org.ojalgo
Class RecoverableCondition
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.ojalgo.RecoverableCondition
-
- All Implemented Interfaces:
java.io.Serializable
,EffectiveThrowable
public class RecoverableCondition extends java.lang.Exception implements EffectiveThrowable
Something that potentially could go wrong, actually did go wrong. The API user is expected to recover and continue execution. Is always declared to be thrown, and must be caught.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description (package private)
RecoverableCondition()
RecoverableCondition(java.lang.String message)
protected
RecoverableCondition(java.lang.String message, java.lang.Throwable cause)
(package private)
RecoverableCondition(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
RecoverableCondition(java.lang.Throwable cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecoverableCondition
newEquationSystemNotSolvable()
static RecoverableCondition
newFailedToParseString(java.lang.String stringToParse, java.lang.Class<?> classToInstantiate)
static RecoverableCondition
newMatrixNotInvertible()
java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RecoverableCondition
public RecoverableCondition(java.lang.String message)
-
RecoverableCondition
public RecoverableCondition(java.lang.Throwable cause)
-
RecoverableCondition
protected RecoverableCondition(java.lang.String message, java.lang.Throwable cause)
-
RecoverableCondition
RecoverableCondition()
-
RecoverableCondition
RecoverableCondition(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-
Method Detail
-
newEquationSystemNotSolvable
public static RecoverableCondition newEquationSystemNotSolvable()
-
newFailedToParseString
public static RecoverableCondition newFailedToParseString(java.lang.String stringToParse, java.lang.Class<?> classToInstantiate)
-
newMatrixNotInvertible
public static RecoverableCondition newMatrixNotInvertible()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Throwable
-
-