net.smartlab.web
Class DAOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.smartlab.web.DAOException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
InvalidKeyException, LockException, UndefinedKeyException

public class DAOException
extends java.lang.Exception

A DAOException is thrown whenever an application tries to access a persistent representation but the data storage is unavailable or unable to retrieve the datas.

Author:
rlogiacco
See Also:
Serialized Form

Constructor Summary
DAOException()
          Default empty constructor.
DAOException(java.lang.String message)
          Constructs a new instance with the specified describing message.
DAOException(java.lang.String message, java.lang.Throwable cause)
          Constructs a new instance with the specified describing message and cause.
DAOException(java.lang.Throwable cause)
          Constructs a new instance with the specified cause.
 
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

DAOException

public DAOException()
Default empty constructor.


DAOException

public DAOException(java.lang.String message)
Constructs a new instance with the specified describing message.

Parameters:
message - the description of the occurred exception.

DAOException

public DAOException(java.lang.Throwable cause)
Constructs a new instance with the specified cause.

Parameters:
cause - the throwable instance wich generated this exception.

DAOException

public DAOException(java.lang.String message,
                    java.lang.Throwable cause)
Constructs a new instance with the specified describing message and cause.

Parameters:
message - the description of the occurred exception.
cause - the throwable instance wich generated this exception.


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.