org.jscience.measure
Class AmountException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jscience.measure.AmountException
All Implemented Interfaces:
java.io.Serializable

public class AmountException
extends java.lang.RuntimeException

Signals that an illegal measure operation has been performed.

See Also:
Serialized Form

Constructor Summary
AmountException()
          Constructs a measure exception with no detail message.
AmountException(java.lang.String message)
          Constructs a measure exception with the specified message.
 
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

AmountException

public AmountException()
Constructs a measure exception with no detail message.


AmountException

public AmountException(java.lang.String message)
Constructs a measure exception with the specified message.

Parameters:
message - the error message.