com.adobe.idp.dsc.transaction
Class MarkedForRollbackException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.adobe.idp.dsc.DSCRuntimeException
com.adobe.idp.dsc.transaction.TransactionException
com.adobe.idp.dsc.transaction.MarkedForRollbackException
- All Implemented Interfaces:
- java.io.Serializable
public class MarkedForRollbackException
extends com.adobe.idp.dsc.transaction.TransactionException
implements java.io.Serializable
A MarkedForRollbackException is thrown for one of three reasons:
- This transaction has timed-out (the timout period was set to less than the actual time the
transaction took).
- An unhandled runtime exception occurred when calling another service (please check the logs for more
detail).
- This is a JTA transaction and a service has been explicitly marked for rollback.
- See Also:
- Serialized Form
| Methods inherited from class com.adobe.idp.dsc.DSCRuntimeException |
getError, getMessage, getNestedThrowable, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MarkedForRollbackException
public MarkedForRollbackException(int aTxTimeoutInSecs,
int aTxActualTimeInSecs)
- Constructs a new exception.
- Parameters:
aTxTimeoutInSecs - An integer for the timeout in seconds.aTxActualTimeInSecs - An integer for the actual time in seconds.