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)
RollbackConfiguration
throwable
should trigger a rollback.rollBackOn
in interface RollbackConfiguration
throwable
- the Throwable to evaluatetrue
if the UnitOfWork should be rolled back, otherwise false
Copyright © 2010-2014. All Rights Reserved.