|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception com.framework.jdto.exceptions.DAOException
The class DAOException extends Exception class and is thrown whenever there is an SQLException in the PreparedStatementWrapper and StatementWrapper classes. This Exception should be caught in all the DAO Classes.
Constructor Summary | |
DAOException()
Default Constructor |
|
DAOException(boolean isRunningInTransaction)
Constructs a New DAOException and calls the setRollbackOnly() method of the current transaction Context which inturn sets the status to TransactionStatus.STATUS_MARKED_ROLLBACK |
|
DAOException(String message)
Constructor with a message |
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DAOException()
public DAOException(String message)
public DAOException(boolean isRunningInTransaction)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |