|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.optimization.CostException
public class CostException
This class represents exceptions thrown by cost functions.
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. |
Method Summary |
---|
Methods inherited from class org.apache.commons.math.MathException |
---|
getArguments, getCause, getMessage, getPattern, printStackTrace, printStackTrace, printStackTrace |
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 |
Constructor Detail |
---|
public CostException(java.lang.String pattern, java.lang.Object[] arguments)
MathException
with specified
formatted detail message.
Message formatting is delegated to MessageFormat
.
pattern
- format specifierarguments
- format argumentspublic CostException(java.lang.Throwable rootCause)
MathException
with specified
nested Throwable
root cause.
rootCause
- the exception or error that caused this exception
to be thrown.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |