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.
- Version:
- $Id: RaiseException.java 64 2006-07-12 22:30:50Z edavis $
- Author:
- Steven R. Emmerson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ShiftException
public ShiftException(Unit unit,
double origin)
- Constructs from the unit and the origin.
- Parameters:
unit
- The unit.origin
- The desired origin.
ShiftException
public ShiftException(Unit unit,
Date origin)
- Constructs from the unit and the origin.
- Parameters:
unit
- The unit.origin
- The desired origin.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.