Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.adf.model.binding
Interface DCErrorMessageHandler

All Superinterfaces:
DCErrorHandler
All Known Implementing Classes:
DCErrorHandlerImpl, DCErrorHandlerThrow

public interface DCErrorMessageHandler
extends DCErrorHandler

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

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

See Also:
DCErrorHandler

Method Summary
 DCErrorMessage getDetailedDisplayMessage(BindingContext ctx, RegionBinding ctr, java.lang.Exception ex)
          Returns application specific details about the given exception.
 java.lang.String getDisplayMessage(BindingContext ctx, java.lang.Exception ex)
          Given an exception or an error, process it and return a formatted message string for the given locale.
 
Methods inherited from interface oracle.adf.model.binding.DCErrorHandler
reportException
 

Method Detail

getDisplayMessage

java.lang.String getDisplayMessage(BindingContext ctx,
                                   java.lang.Exception ex)
Given an exception or an error, process it and return a formatted message string for the given locale.


getDetailedDisplayMessage

DCErrorMessage getDetailedDisplayMessage(BindingContext ctx,
                                         RegionBinding ctr,
                                         java.lang.Exception ex)
Returns application specific details about the given exception. This exception should be formatted as per the associated view layer requirements. displayed in the detail panel of an exception dialog.

Parameters:
ctx - BindingContext for the usage that raised this exception.
ctr - BindingContainer that is associated with the UI that caused this exception.
ex - Exception for which detailed display message is asked for.

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

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