com.rubecula.jquantity
Class JQuantityException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byjava.lang.ArithmeticException
                  extended bycom.rubecula.jquantity.JQuantityException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Complex.ComplexException, FuzzInt.FuzzIntException, Rational.RationalException, Value.ValueException, WholeNumber.WholeNumberException

public class JQuantityException
extends java.lang.ArithmeticException

This exception class is used to report problems in the JQuantity package.

Version:
$Revision: 1.2 $ // TODO this class needs completely reworking.
Author:
Robin Hillyard
See Also:
Serialized Form

Field Summary
private  java.lang.String _Details
           
private  boolean _Informational
           
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
(package private) JQuantityException()
           
  JQuantityException(java.lang.String bleat)
           
  JQuantityException(java.lang.String bleat, boolean informational)
           
  JQuantityException(java.lang.String bleat, java.lang.String details)
           
  JQuantityException(java.lang.String bleat, java.lang.String details, boolean informational)
           
 
Method Summary
 boolean isInformational()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_Details

private java.lang.String _Details

_Informational

private boolean _Informational
Constructor Detail

JQuantityException

JQuantityException()

JQuantityException

public JQuantityException(java.lang.String bleat,
                          java.lang.String details,
                          boolean informational)

JQuantityException

public JQuantityException(java.lang.String bleat,
                          boolean informational)

JQuantityException

public JQuantityException(java.lang.String bleat,
                          java.lang.String details)

JQuantityException

public JQuantityException(java.lang.String bleat)
Method Detail

toString

public java.lang.String toString()

isInformational

public boolean isInformational()