ucar.units
Class DivideException
java.lang.Object
java.lang.Throwable
java.lang.Exception
ucar.units.UnitException
ucar.units.OperationException
ucar.units.DivideException
- All Implemented Interfaces:
- Serializable
public final class DivideException
- extends OperationException
Provides support for unit division failures.
- Version:
- $Id: DivideException.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 |
DivideException
public DivideException(Unit unit)
- Constructs from a unit that can't be divided.
- Parameters:
unit
- The unit that can't be divided.
DivideException
public DivideException(Unit numerator,
Unit denominator)
- Constructs from dividend and divisor units.
- Parameters:
numerator
- The unit attempting to be divided.denominator
- The unit attempting to divide.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.