Package ucar.units
Class ShiftException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ucar.units.UnitException
-
- ucar.units.OperationException
-
- ucar.units.ShiftException
-
- All Implemented Interfaces:
Serializable
public final class ShiftException extends OperationException
Provides support for failure to raise a unit to a power.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShiftException(Unit unit, double origin)
Constructs from the unit and the origin.ShiftException(Unit unit, Date origin)
Constructs from the unit and the origin.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ShiftException
public ShiftException(Unit unit, double origin)
Constructs from the unit and the origin.- Parameters:
unit
- The unit.origin
- The desired origin.
-
-