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:
java.io.Serializable
,MathThrowable
public class MathConfigurationException extends MathException implements java.io.Serializable
Signals a configuration problem with any of the factory methods.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MathConfigurationException()
Default constructor.MathConfigurationException(java.lang.String pattern, java.lang.Object... arguments)
Constructs an exception with specified formatted detail message.MathConfigurationException(java.lang.Throwable cause)
Create an exception with a given root cause.MathConfigurationException(java.lang.Throwable cause, java.lang.String pattern, java.lang.Object... arguments)
Constructs an exception with specified formatted detail message and root cause.MathConfigurationException(java.lang.Throwable cause, Localizable pattern, java.lang.Object... arguments)
Constructs an exception with specified formatted detail message and root cause.MathConfigurationException(Localizable pattern, java.lang.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
-
-
-
-
Constructor Detail
-
MathConfigurationException
public MathConfigurationException()
Default constructor.
-
MathConfigurationException
public MathConfigurationException(java.lang.String pattern, java.lang.Object... arguments)
Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat
.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 1.2
-
MathConfigurationException
public MathConfigurationException(Localizable pattern, java.lang.Object... arguments)
Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat
.- Parameters:
pattern
- format specifierarguments
- format arguments- Since:
- 2.2
-
MathConfigurationException
public MathConfigurationException(java.lang.Throwable cause)
Create an exception with a given root cause.- Parameters:
cause
- the exception or error that caused this exception to be thrown
-
MathConfigurationException
public MathConfigurationException(java.lang.Throwable cause, java.lang.String pattern, java.lang.Object... arguments)
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
public MathConfigurationException(java.lang.Throwable cause, Localizable pattern, java.lang.Object... arguments)
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
-
-