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:
- Serializable
public class CostException
- extends MathException
This class represents exceptions thrown by cost functions.
- Since:
- 1.2
- Version:
- $Revision: 670469 $ $Date: 2008-06-23 10:01:38 +0200 (lun, 23 jun 2008) $
- See Also:
- Serialized Form
|
Constructor Summary |
CostException(String pattern,
Object[] arguments)
Constructs a new MathException with specified
formatted detail message. |
CostException(Throwable rootCause)
Constructs a new MathException with specified
nested Throwable root cause. |
CostException
public CostException(String pattern,
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(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.
Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.