org.apache.commons.math
Class ConvergenceException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
FractionConversionException, MaxIterationsExceededException

public class ConvergenceException
extends MathException

Error thrown when a numerical computation can not be performed because the numerical result failed to converge to a finite value.

Version:
$Revision: 620312 $ $Date: 2008-02-10 12:28:59 -0700 (Sun, 10 Feb 2008) $
See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          Serializable version identifier
 
Constructor Summary
ConvergenceException()
          Default constructor.
ConvergenceException(java.lang.String msg)
          Deprecated. as of 1.2, replaced by ConvergenceException(String, Object[])
ConvergenceException(java.lang.String pattern, java.lang.Object[] arguments)
          Constructs an exception with specified formatted detail message.
ConvergenceException(java.lang.String pattern, java.lang.Object[] arguments, java.lang.Throwable cause)
          Constructs an exception with specified formatted detail message and root cause.
ConvergenceException(java.lang.String msg, java.lang.Throwable rootCause)
          Deprecated. as of 1.2, replaced by ConvergenceException(String, Object[], Throwable)
ConvergenceException(java.lang.Throwable cause)
          Create an exception with a given root cause.
 
Method Summary
 
Methods inherited from class org.apache.commons.math.MathException
getArguments, getCause, getMessage, getPattern, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, 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
Serializable version identifier

See Also:
Constant Field Values
Constructor Detail

ConvergenceException

public ConvergenceException()
Default constructor.


ConvergenceException

public ConvergenceException(java.lang.String pattern,
                            java.lang.Object[] arguments)
Constructs an exception with specified formatted detail message. Message formatting is delegated to MessageFormat.

Parameters:
pattern - format specifier
arguments - format arguments
Since:
1.2

ConvergenceException

public ConvergenceException(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

ConvergenceException

public ConvergenceException(java.lang.String pattern,
                            java.lang.Object[] arguments,
                            java.lang.Throwable cause)
Constructs an exception with specified formatted detail message and root cause. Message formatting is delegated to MessageFormat.

Parameters:
pattern - format specifier
arguments - format arguments
cause - the exception or error that caused this exception to be thrown
Since:
1.2

ConvergenceException

public ConvergenceException(java.lang.String msg,
                            java.lang.Throwable rootCause)
Deprecated. as of 1.2, replaced by ConvergenceException(String, Object[], Throwable)

Constructs a new ConvergenceException with specified detail message and nested Throwable root cause.

Parameters:
msg - the error message.
rootCause - the exception or error that caused this exception to be thrown.

ConvergenceException

public ConvergenceException(java.lang.String msg)
Deprecated. as of 1.2, replaced by ConvergenceException(String, Object[])

Constructs a new ConvergenceException with specified detail message.

Parameters:
msg - the error message.