Package ucar.units
Class UnitDBException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ucar.units.UnitException
-
- ucar.units.UnitDBException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BadUnitException
,UnitDBAccessException
,UnitExistsException
public class UnitDBException extends UnitException
Provides support for general unit database failures.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UnitDBException()
Constructs from nothing.UnitDBException(String message)
Constructs from an error message.UnitDBException(String message, Exception e)
Constructs from a message and the exception that caused the failure.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnitDBException
protected UnitDBException()
Constructs from nothing.
-
UnitDBException
public UnitDBException(String message)
Constructs from an error message.- Parameters:
message
- The error message.
-
-