public final void setRollbackFor ( Class < ? extends Throwable > ... exceptions ) { if ( ArrayUtils . isNotEmpty ( exceptions ) ) { if ( rollbackFor == null ) { rollbackFor = new HashSet <> ( ) ; } rollbackFor . addAll ( Arrays . asList ( exceptions ) ) ; } }
Configures the exceptions to rollback for .