Package org.apache.commons.math
Class MathConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.MathConfigurationException
- All Implemented Interfaces:
Serializable
,MathThrowable
Signals a configuration problem with any of the factory methods.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.MathConfigurationException
(String pattern, Object... arguments) Constructs an exception with specified formatted detail message.Create an exception with a given root cause.MathConfigurationException
(Throwable cause, String pattern, Object... arguments) Constructs an exception with specified formatted detail message and root cause.MathConfigurationException
(Throwable cause, Localizable pattern, Object... arguments) Constructs an exception with specified formatted detail message and root cause.MathConfigurationException
(Localizable pattern, Object... arguments) Constructs an exception with specified formatted detail message. -
Method Summary
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MathConfigurationException
public MathConfigurationException()Default constructor. -
MathConfigurationException
Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat
.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 1.2
-
MathConfigurationException
Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat
.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 2.2
-
MathConfigurationException
Create an exception with a given root cause.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-
MathConfigurationException
Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated toMessageFormat
.- Parameters:
cause
- the exception or error that caused this exception to be thrownpattern
- format specifierarguments
- format arguments- Since:
- 1.2
-
MathConfigurationException
Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated toMessageFormat
.- Parameters:
cause
- the exception or error that caused this exception to be thrownpattern
- format specifierarguments
- format arguments- Since:
- 2.2
-