ucar.units
Class UnitDBException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ucar.units.UnitException
              extended by 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.

Version:
$Id: UnitDBException.java 64 2006-07-12 22:30:50Z edavis $
Author:
Steven R. Emmerson
See Also:
Serialized Form

Constructor Summary
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnitDBException

protected UnitDBException()
Constructs from nothing.


UnitDBException

public UnitDBException(String message)
Constructs from an error message.

Parameters:
message - The error message.

UnitDBException

public UnitDBException(String message,
                       Exception e)
Constructs from a message and the exception that caused the failure.

Parameters:
message - The message.
e - The exeception that cause the the failure.


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.