org.spaceroots.mantissa.optimization
Class CostException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.spaceroots.mantissa.MantissaException
              extended byorg.spaceroots.mantissa.optimization.CostException
All Implemented Interfaces:
Serializable

public class CostException
extends MantissaException

This class represents exceptions thrown by cost functions.

Version:
$Id: CostException.java 1666 2005-12-15 16:37:55Z luc $
Author:
L. Maisonobe
See Also:
Serialized Form

Constructor Summary
CostException()
          Simple constructor.
CostException(String message)
          Simple constructor.
CostException(String message, Throwable cause)
          Simple constructor.
CostException(Throwable cause)
          Simple constructor.
 
Methods inherited from class org.spaceroots.mantissa.MantissaException
translate, translate
 
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(String message)
Simple constructor. Build an exception with the specified message

Parameters:
message - exception message

CostException

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

Parameters:
cause - cause of this exception

CostException

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

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


Copyright © 2001-2007 Luc Maisonobe. All Rights Reserved.