org.genericdao
Class RollbackException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.genericdao.RollbackException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DuplicateKeyException
public class RollbackException
- extends Exception
The exception thrown when a CRUD method encounters a problem, such as
not being able to connect to the database, deadlock, when invalid parameters
are passed, etc.
If a user initiated transaction was active when a CRUD method throws
RollbackException the transaction (by convention) is rolled back before (or in the process of) throwing
RollbackException.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
RollbackException
public RollbackException(String message)
RollbackException
public RollbackException(Exception e)
RollbackException
public RollbackException(String message,
Exception e)
Copyright © 2012 Jeffrey L. Eppinger. All rights reserved. Permission granted for educational use only.