org.apache.commons.math.optimization
Class OptimizationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.commons.math.MathException
              extended by org.apache.commons.math.ConvergenceException
                  extended by org.apache.commons.math.optimization.OptimizationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoFeasibleSolutionException, UnboundedSolutionException

public class OptimizationException
extends ConvergenceException

This class represents exceptions thrown by optimizers.

Since:
1.2
Version:
$Revision: 811685 $ $Date: 2009-09-05 13:36:48 -0400 (Sat, 05 Sep 2009) $
See Also:
Serialized Form

Constructor Summary
OptimizationException(java.lang.String specifier, java.lang.Object... parts)
          Simple constructor.
OptimizationException(java.lang.Throwable cause)
          Create an exception with a given root cause.
 
Method Summary
 
Methods inherited from class org.apache.commons.math.MathException
getArguments, getLocalizedMessage, getMessage, getMessage, getPattern, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptimizationException

public OptimizationException(java.lang.String specifier,
                             java.lang.Object... parts)
Simple constructor. Build an exception by translating and formating a message

Parameters:
specifier - format specifier (to be translated)
parts - to insert in the format (no translation)

OptimizationException

public OptimizationException(java.lang.Throwable cause)
Create an exception with a given root cause.

Parameters:
cause - the exception or error that caused this exception to be thrown


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.