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
public class AmountException extends RuntimeException
Signals that an illegal measure operation has been performed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AmountException()
Constructs 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 Detail
-
AmountException
public AmountException()
Constructs a measure exception with no detail message.
-
AmountException
public AmountException(String message)
Constructs a measure exception with the specified message.- Parameters:
message
- the error message.
-
-