org.apache.commons.math
Class MathException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.apache.commons.lang.exception.NestableException
              extended byorg.apache.commons.math.MathException
All Implemented Interfaces:
Nestable, Serializable
Direct Known Subclasses:
ConvergenceException, MathConfigurationException

public class MathException
extends NestableException
implements Serializable

A generic exception indicating problems in the math package.

Version:
$Revision: 1.11 $ $Date: 2003/11/19 03:28:25 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.commons.lang.exception.NestableException
delegate
 
Constructor Summary
MathException()
          Constructs a MathException
MathException(String message)
          Create an exception with a given error message.
MathException(String message, Throwable throwable)
          Create an exception with a given error message and root cause.
MathException(Throwable throwable)
          Create an exception with a given root cause.
 
Methods inherited from class org.apache.commons.lang.exception.NestableException
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MathException

public MathException()
Constructs a MathException


MathException

public MathException(String message)
Create an exception with a given error message.

Parameters:
message - message describing the problem

MathException

public MathException(String message,
                     Throwable throwable)
Create an exception with a given error message and root cause.

Parameters:
message - message describing the problem
throwable - caught exception causing this problem

MathException

public MathException(Throwable throwable)
Create an exception with a given root cause.

Parameters:
throwable - caught exception causing this problem


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