public interface JpaExceptionHandler extends ExceptionHandler<javax.persistence.EntityTransaction>
Modifier and Type | Method and Description |
---|---|
boolean |
handleException(Exception exception,
TransactionMetadata associatedTransactionMetadata,
javax.persistence.EntityTransaction associatedTransaction)
Called when an exception occurred during transaction.
|
boolean handleException(Exception exception, TransactionMetadata associatedTransactionMetadata, javax.persistence.EntityTransaction associatedTransaction)
ExceptionHandler
handleException
in interface ExceptionHandler<javax.persistence.EntityTransaction>
exception
- the exception that occurred.associatedTransactionMetadata
- the associated transaction metadata.associatedTransaction
- the associated transaction object.Copyright © 2013-2018–2019 SeedStack. All rights reserved.