Module org.eclipse.persistence.core
Interface ExceptionHandler
public interface ExceptionHandler
Exception handler can catch errors that occur on queries or during database access.
The exception handler has the option of re-throwing the exception,throwing a different
exception or re-trying the query or database operation.
-
Method Summary
Modifier and TypeMethodDescriptionhandleException
(RuntimeException exception) To re-throwing the exception,throwing a different exception or re-trying the query or database operation.
-
Method Details
-
handleException
To re-throwing the exception,throwing a different exception or re-trying the query or database operation.
-