Package ucar.units
Class BadUnitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ucar.units.UnitException
-
- ucar.units.UnitDBException
-
- ucar.units.BadUnitException
-
- All Implemented Interfaces:
Serializable
public final class BadUnitException extends UnitDBException
Provides support for failures due to attempts to redefine an existing unit in a unit database.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadUnitException(String msg)
Constructs from an error 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
-
BadUnitException
public BadUnitException(String msg)
Constructs from an error message.- Parameters:
msg
- The error message.
-
-