StocksMonitor 1.5.0

hirondelle.stocks.util
Class DataAccessException

Object
  extended by Throwable
      extended by Exception
          extended by DataAccessException
All Implemented Interfaces:
Serializable

public final class DataAccessException
extends Exception

Hides low-level exceptions in a higher-level abstraction, to hide details regarding the data storage mechanism. See Data Exception Wrapping topic for discussion.

Every constructor maps to a corresponding Exception constructor, and every constructor is package-private (it does not make sense to construct these objects outside the data layer). See Exception for all conditions on constructor arguments.

Throwable.getStackTrace returns all underlying exceptions. Throwable.getCause returns the underlying cause. (This standard exception chaining mechanism was introduced in JDK 1.4.)

See Also:
Serialized Form

Constructor Summary
DataAccessException()
           
DataAccessException(String aMessage)
           
DataAccessException(String aMessage, Throwable aThrowable)
           
DataAccessException(Throwable aThrowable)
           
 
Method Summary
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataAccessException

public DataAccessException()

DataAccessException

public DataAccessException(String aMessage)

DataAccessException

public DataAccessException(String aMessage,
                           Throwable aThrowable)

DataAccessException

public DataAccessException(Throwable aThrowable)

StocksMonitor 1.5.0

Copyright Hirondelle Systems - License - Generated 2008Jul12.10.53