public class RollbackException extends Exception
It is thrown under two circumstances:
commitmethod will roll back the transaction and throw this exception to indicate that the transaction could not be committed.
registerSynchronizationmethods in the
Transactioninterface throw this exception to indicate that the operation cannot be completed because the transaction is marked for rollback only. In this case, the state of the transaction remains unchanged.
|Constructor and Description|
Creates a new
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
RollbackExceptionwithout a detail message.
public RollbackException(String msg)
RollbackExceptionwith the specified detail message.
msg- the detail message.
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.