Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

oracle.adf.model.binding
Interface DCErrorHandler

All Known Subinterfaces:
DCErrorMessageHandler
All Known Implementing Classes:
LoggingErrorHandlerImpl

public interface DCErrorHandler

Implements reporting of all ADF exceptions raised in the context of a DCBindingContainer.

Applications could customize exception reporting in JClient by implementing this interface and providing a custom implementation to display/handle ADF exception including BC4J and JClient exceptions in case of an application using those layers.

By default DCErrorHandlerThrow implements this interface and throws all exceptions as a JboException which is a generic Java runtime exception and base class for all ADF exceptions.

For generated applications from wizards, the wizards generate a call to set DCErrorHandlerDialog as the default error handler so that all exceptions are displayed in an error dialog.

See Also:
JboException, oracle.jbo.uicli.binding.JUErrorHandlerThrow, oracle.jbo.uicli.jui.JUErrorHandlerDialog

Field Summary
static java.lang.Class CLASS_INSTANCE
           
 
Method Summary
 void reportException(BindingContainer formBnd, java.lang.Exception ex)
          Implements how to handle the given exception raised within the JClient framework in the context of the given form binding.
 

Field Detail

CLASS_INSTANCE

static final java.lang.Class CLASS_INSTANCE
Method Detail

reportException

void reportException(BindingContainer formBnd,
                     java.lang.Exception ex)
Implements how to handle the given exception raised within the JClient framework in the context of the given form binding.


Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client
11g Release 1 (11.1.1)

E17503-02

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.