Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.exceptions
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
 java.lang.Object handleException(java.lang.RuntimeException exception)
          To re-throwing the exception,throwing a different exception or re-trying the query or database operation.

 

Method Detail

handleException

public java.lang.Object handleException(java.lang.RuntimeException exception)
To re-throwing the exception,throwing a different exception or re-trying the query or database operation.

Skip navigation links

Copyright © 1998, 2006, Oracle. All Rights Reserved.