org.jscience.mathematics.analysis.optimization
Class CostException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.jscience.mathematics.analysis.optimization.CostException
All Implemented Interfaces:
java.io.Serializable

public class CostException
extends java.lang.Exception

This class represents exceptions thrown by cost functions.

See Also:
Serialized Form

Constructor Summary
CostException()
          Simple constructor.
CostException(java.lang.String message)
          Simple constructor.
CostException(java.lang.String message, java.lang.Throwable cause)
          Simple constructor.
CostException(java.lang.Throwable cause)
          Simple constructor.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CostException

public CostException()
Simple constructor. Build an exception with a default message


CostException

public CostException(java.lang.String message)
Simple constructor. Build an exception with the specified message

Parameters:
message - exception message

CostException

public CostException(java.lang.Throwable cause)
Simple constructor. Build an exception from a cause

Parameters:
cause - cause of this exception

CostException

public CostException(java.lang.String message,
                     java.lang.Throwable cause)
Simple constructor. Build an exception from a message and a cause

Parameters:
message - exception message
cause - cause of this exception