Package org.jscience.physics.amount
Class AmountException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jscience.physics.amount.AmountException
- All Implemented Interfaces:
Serializable
Signals that an illegal measure operation has been performed.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a measure exception with no detail message.AmountException
(String message) Constructs a measure exception with the specified message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AmountException
public AmountException()Constructs a measure exception with no detail message. -
AmountException
Constructs a measure exception with the specified message.- Parameters:
message
- the error message.
-