Class RollbackException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ch.tocco.nice2.model.entity.api.BaseRuntimeException
ch.tocco.nice2.persist.core.api.PersistException
ch.tocco.nice2.persist.core.api.PermanentPersistException
ch.tocco.nice2.persist.core.api.tx.RollbackException
- All Implemented Interfaces:
Serializable
This exception is thrown when trying to commit a transaction that was set
rollback-only.
If this gets thrown then there is a code logic problem that should be fixed.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ThrowablevoidsetRollbackError(Throwable rollbackError) Methods inherited from class ch.tocco.nice2.persist.core.api.PersistException
getErrorKey, isErrorKeyPresent, removeErrorKey, setErrorKeyMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RollbackException
public RollbackException() -
RollbackException
-
RollbackException
-
-
Method Details
-
getRollbackError
-
setRollbackError
-