org.apache.commons.math.optimization
Class CostException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.optimization.CostException
- All Implemented Interfaces:
- java.io.Serializable
public class CostException
- extends MathException
This class represents exceptions thrown by cost functions.
- Since:
- 1.2
- Version:
- $Revision: 620312 $ $Date: 2008-02-10 12:28:59 -0700 (Sun, 10 Feb 2008) $
- See Also:
- Serialized Form
Field Summary |
private static long |
serialVersionUID
Serializable version identifier. |
Constructor Summary |
CostException(java.lang.String pattern,
java.lang.Object[] arguments)
Constructs a new MathException with specified
formatted detail message. |
CostException(java.lang.Throwable rootCause)
Constructs a new MathException with specified
nested Throwable root cause. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Serializable version identifier.
- See Also:
- Constant Field Values
CostException
public CostException(java.lang.String pattern,
java.lang.Object[] arguments)
- Constructs a new
MathException
with specified
formatted detail message.
Message formatting is delegated to MessageFormat
.
- Parameters:
pattern
- format specifierarguments
- format arguments
CostException
public CostException(java.lang.Throwable rootCause)
- Constructs a new
MathException
with specified
nested Throwable
root cause.
- Parameters:
rootCause
- the exception or error that caused this exception
to be thrown.