net.sf.zig_project.gpl.common.queue
Class RollbackError
java.lang.Object
java.lang.Throwable
java.lang.Error
net.sf.zig_project.gpl.common.queue.RollbackError
- All Implemented Interfaces:
- Serializable
- public class RollbackError
- extends Error
Indicates that a Queue recieved an exception while rolling back from
another exception. The state of the Queue when a RollbackError is thrown
is undefined, hence the seriousness of using Error.
This is the result, generally of a bulk operation, in which the primary
Exception is thrown. The Queue automatically will attempt to revert back to
its prior state before rethrowing the Exception when, in the process of the
rollback, the secondary Exception is thrown.
- Version:
- November 1, 2004
- Author:
- Frank Ziglar
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
primary
public final RuntimeException primary
secondary
public final RuntimeException secondary
RollbackError
public RollbackError(RuntimeException e1,
RuntimeException e2)