Class DAOException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ConnectionContext.ConnectionPoolException, FTPClientException, HTTPDAOException, TransactionException

public class DAOException extends ControllerException
An exception thrown by a Data Access Object.
Since:
1.0
Version:
1.0
Author:
Luke
See Also:
  • Constructor Details

    • DAOException

      public DAOException(Throwable t)
      Wraps a thrown exception inside a DAO exception. This assumes the stack trace of the original execption.
      Parameters:
      t - the thrown exception to wrap
      See Also:
    • DAOException

      public DAOException(String msg)
      Creates a new DAO exception with a given message.
      Parameters:
      msg - the message for the exception