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, MathThrowable
Direct Known Subclasses:
NoFeasibleSolutionException, UnboundedSolutionException

Deprecated. in 2.2 (to be removed in 3.0).

public class OptimizationException
extends ConvergenceException

This class represents exceptions thrown by optimizers.

Since:
1.2
Version:
$Revision: 1044015 $ $Date: 2010-12-09 17:06:26 +0100 (jeu. 09 déc. 2010) $
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Deprecated. Serializable version identifier.
 
Constructor Summary
OptimizationException(Localizable specifier, java.lang.Object... parts)
          Deprecated. Simple constructor.
OptimizationException(java.lang.String specifier, java.lang.Object... parts)
          Deprecated. as of 2.2 replaced by OptimizationException(Localizable, Object...)
OptimizationException(java.lang.Throwable cause)
          Deprecated. Create an exception with a given root cause.
 
Method Summary
 
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, 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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Deprecated. 
Serializable version identifier.

See Also:
Constant Field Values
Constructor Detail

OptimizationException

@Deprecated
public OptimizationException(java.lang.String specifier,
                                        java.lang.Object... parts)
Deprecated. as of 2.2 replaced by OptimizationException(Localizable, Object...)

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(Localizable specifier,
                             java.lang.Object... parts)
Deprecated. 
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)
Since:
2.2

OptimizationException

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

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


Copyright (c) 2003-2013 Apache Software Foundation