Class DAOException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.deltava.util.ControllerException
org.deltava.dao.DAOException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ConnectionContext.ConnectionPoolException
,FTPClientException
,HTTPDAOException
,TransactionException
An exception thrown by a Data Access Object.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Luke
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDAOException
(String msg) Creates a new DAO exception with a given message.Wraps a thrown exception inside a DAO exception. -
Method Summary
Methods inherited from class org.deltava.util.ControllerException
getForwardURL, getLogStackDump, getStatusCode, isSuppressed, isWarning, setForwardURL, setLogStackDump, setStatusCode, setSuppressed, setWarning
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DAOException
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
Creates a new DAO exception with a given message.- Parameters:
msg
- the message for the exception
-