3.5.5.8. Transactions and Exceptions
If a cache method returns a
CacheException
(or a subclass of the CacheException
) within the scope of a JTA transaction, the transaction is automatically marked to be rolled back.