Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


oracle.jbo.uicli.binding
Class JUErrorHandlerThrow

java.lang.Object
  extended by oracle.jbo.uicli.binding.JUErrorHandlerThrow

All Implemented Interfaces:
JUErrorHandler

public class JUErrorHandlerThrow
extends java.lang.Object
implements JUErrorHandler

Implements a default error handling class for the JClient framework. This handler simply throws exceptions it receives as JboExceptions (by creating a JboException if required).

See Also:
JboException, JUErrorHandler

Constructor Summary
JUErrorHandlerThrow()
           

 

Method Summary
 void reportException(JUFormBinding formBnd, java.lang.Exception ex)
          This method simply throws the exception 'ex' as a JboException (by creating a new JboException if required).
 void reportException(JUFormBinding formBnd, java.lang.Exception ex, boolean reportExceptionNow)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JUErrorHandlerThrow

public JUErrorHandlerThrow()

Method Detail

reportException

public void reportException(JUFormBinding formBnd,
                            java.lang.Exception ex)
This method simply throws the exception 'ex' as a JboException (by creating a new JboException if required).
Specified by:
reportException in interface JUErrorHandler

reportException

public void reportException(JUFormBinding formBnd,
                            java.lang.Exception ex,
                            boolean reportExceptionNow)
Specified by:
reportException in interface JUErrorHandler
Parameters:
formBnd - the binding where the exception was caused
ex - the exception to report
reportExceptionNow - true if the caller should be stopped until the exception is reported. If an exception is fatal, and the calling program wants to abort, the calling program typically wants to wait till the exception is shown to the user.
See Also:
JUErrorHandler.reportException(JUFormBinding, Exception)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


Copyright © 1997, 2012, Oracle. All rights reserved.