public class RollbackOnAllExceptionsConfiguration extends Object implements RollbackConfiguration
| Constructor and Description |
|---|
RollbackOnAllExceptionsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
rollBackOn(Throwable throwable)
Decides whether the given
throwable should trigger a rollback. |
public RollbackOnAllExceptionsConfiguration()
public boolean rollBackOn(Throwable throwable)
RollbackConfigurationthrowable should trigger a rollback.rollBackOn in interface RollbackConfigurationthrowable - the Throwable to evaluatetrue if the UnitOfWork should be rolled back, otherwise falseCopyright © 2010-2014. All Rights Reserved.