Package org.hipparchus.exception
Class MathIllegalArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hipparchus.exception.MathRuntimeException
org.hipparchus.exception.MathIllegalArgumentException
- All Implemented Interfaces:
Serializable
,LocalizedException
- Direct Known Subclasses:
ArcsSet.InconsistentStateAt2PiWrapping
,IllConditionedOperatorException
,InsufficientDataException
,InvalidRepresentationException
,JacobianMatrices.MismatchedEquations
,MathIllegalNumberException
,ModelSpecificationException
,MultiDimensionMismatchException
,NoBracketingException
,NoDataException
,NonPositiveDefiniteOperatorException
,NonSelfAdjointOperatorException
,NonSymmetricMatrixException
,NotARotationMatrixException
,SingularMatrixException
,SingularOperatorException
,UnknownParameterException
,VariationalEquation.MismatchedEquations
Base class for all preconditions violation exceptions.
In most cases, this class should not be instantiated directly: it should
serve as a base class to create all the exceptions that have the semantics
of the standard
IllegalArgumentException
.- See Also:
-
Constructor Summary
ConstructorDescriptionMathIllegalArgumentException
(Throwable cause, Localizable specifier, Object... parts) Simple constructor.MathIllegalArgumentException
(Localizable pattern, Object... args) Simple constructor. -
Method Summary
Methods inherited from class org.hipparchus.exception.MathRuntimeException
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MathIllegalArgumentException
Simple constructor.- Parameters:
pattern
- Message pattern explaining the cause of the error.args
- Arguments.
-
MathIllegalArgumentException
Simple constructor.- Parameters:
cause
- root cause.specifier
- format specifier (to be translated).parts
- parts to insert in the format (no translation).- Since:
- 1.4
-