Package ucar.units
Class OperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ucar.units.UnitException
-
- ucar.units.OperationException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DivideException,MultiplyException,RaiseException,ShiftException
public abstract class OperationException extends UnitException
Provides support for unit operation failures (ex: multiplication).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description OperationException()Constructs from nothing.protectedOperationException(String message)Constructs from an error message.protectedOperationException(String message, Exception e)Constructs from an error message and the exception that caused the problem.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
OperationException
public OperationException()
Constructs from nothing.
-
OperationException
protected OperationException(String message)
Constructs from an error message.- Parameters:
message- The error message.
-
-