sim.util.mantissa
Class MantissaException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by sim.util.mantissa.MantissaException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SingularMatrixException

public class MantissaException
extends java.lang.Exception

This class is the base class for all specific exceptions thrown by the mantissa classes.

When the mantissa classes throw exceptions that are specific to the package, these exceptions are always subclasses of MantissaException. When exceptions that are already covered by the standard java API should be thrown, like ArrayIndexOutOfBoundsException or IllegalArgumentException, these standard exceptions are thrown rather than the mantissa specific ones.

This file is from the "Mantissa" Java software package found at http://www.spaceroots.org/software/mantissa/index.html. The license is included at the end of the source file.

See Also:
Serialized Form

Constructor Summary
MantissaException()
          Simple constructor.
MantissaException(java.lang.String message)
          Simple constructor.
MantissaException(java.lang.String message, java.lang.Throwable cause)
          Simple constructor.
MantissaException(java.lang.Throwable cause)
          Simple constructor.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MantissaException

public MantissaException()
Simple constructor. Build an exception with a default message


MantissaException

public MantissaException(java.lang.String message)
Simple constructor. Build an exception with the specified message


MantissaException

public MantissaException(java.lang.Throwable cause)
Simple constructor. Build an exception from a cause

Parameters:
cause - cause of this exception

MantissaException

public MantissaException(java.lang.String message,
                         java.lang.Throwable cause)
Simple constructor. Build an exception from a message and a cause

Parameters:
message - exception message
cause - cause of this exception