org.genericdao
Class DAOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.genericdao.DAOException
All Implemented Interfaces:
Serializable

public class DAOException
extends Exception

The exception typically thrown by non-CRUD methods in the GenericDAO package. The ConnectionException is a subclass of DAOException. We didn't make RollbackException a subclass of DAOException because we want people to be more careful about the added semantics of RollbackException.

See Also:
Serialized Form

Constructor Summary
DAOException(String message)
           
DAOException(String message, Throwable cause)
           
DAOException(Throwable 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(String message)

DAOException

public DAOException(Throwable cause)

DAOException

public DAOException(String message,
                    Throwable cause)


Copyright © 2012 Jeffrey L. Eppinger. All rights reserved. Permission granted for educational use only.