org.apache.commons.math.optimization
Class OptimizationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.ConvergenceException
org.apache.commons.math.optimization.OptimizationException
- All Implemented Interfaces:
- 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
OptimizationException
public OptimizationException(String specifier,
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(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-2010 The Apache Software Foundation. All Rights Reserved.