Package com.opengamma.strata.math
Class MathException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.opengamma.strata.math.MathException
-
- All Implemented Interfaces:
Serializable
public class MathException extends RuntimeException
Exception thrown by math.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MathException()
Creates an instance.MathException(String message)
Creates an instance based on a message.MathException(String message, Throwable cause)
Creates an instance based on a message and cause.MathException(Throwable cause)
Creates an instance based on a cause.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
MathException
public MathException()
Creates an instance.
-
MathException
public MathException(String message)
Creates an instance based on a message.- Parameters:
message
- the message, null tolerant
-
MathException
public MathException(String message, Throwable cause)
Creates an instance based on a message and cause.- Parameters:
message
- the message, null tolerantcause
- the cause, null tolerant
-
MathException
public MathException(Throwable cause)
Creates an instance based on a cause.- Parameters:
cause
- the cause, null tolerant
-
-