Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


oracle.adf.model.binding
Class DCErrorHandlerImpl

java.lang.Object
  extended byoracle.adf.model.binding.DCErrorHandlerImpl

All Implemented Interfaces:
DCCachingErrorHandler, DCErrorHandler

public class DCErrorHandlerImpl
extends java.lang.Object
implements DCCachingErrorHandler

Implements a default error handling class for the ADF framework. This handler caches the exception in the bindingContainer and then if 'Throw' flag is set, throws exceptions it receives as JboExceptions (by creating a JboException if required).

See Also:
JboException, oracle.jbo.uicli.binding.DCErrorHandler

Constructor Summary
DCErrorHandlerImpl(boolean setToThrow)

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

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

Constructor Detail

DCErrorHandlerImpl

public DCErrorHandlerImpl(boolean setToThrow)

Method Detail

isThrowFlag

public boolean isThrowFlag()
Specified by:
isThrowFlag in interface DCCachingErrorHandler

setThrowFlag

public void setThrowFlag(boolean flag)
Specified by:
setThrowFlag in interface DCCachingErrorHandler

reportException

public void reportException(DCBindingContainer 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 DCErrorHandler

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-02


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