hirondelle.web4j.database
Class DAOException
Object
Throwable
Exception
hirondelle.web4j.model.AppException
hirondelle.web4j.database.DAOException
- All Implemented Interfaces:
- MessageList, Serializable
- Direct Known Subclasses:
- DuplicateException, ForeignKeyException
public class DAOException
- extends AppException
The only checked exception (excluding subclasses of this class) emitted
by the data layer.
This class is an example of
Data Exception Wrapping,
and hides the various exceptions which arise from the various flavors
of datastore implementation, such as SQLException,
IOException, and BackingStoreException.
Thrown when a low-level, unusual problem is encountered with the data store.
Examples of such a problem might include :
- faulty db connection
- failed file input-output
- inaccesible network connection
- See Also:
- Serialized Form
DAOException
public DAOException(String aMessage,
Throwable aThrowable)
- Constructor.
Both arguements are passed to
AppException.AppException(String, Throwable)
.
- Parameters:
aMessage
- text describing the problem. Must have content.aThrowable
- root cause underlying the problem.
Copyright Hirondelle Systems. Published October 19, 2013 - User Guide - All Docs.