Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

oracle.apps.fnd.applcore.messages
Class ExceptionHandlerBean

java.lang.Object
  extended by oracle.adf.model.binding.DCErrorHandlerImpl
      extended by oracle.apps.fnd.applcore.messages.MessageFormatHandler
          extended by oracle.apps.fnd.applcore.messages.ExceptionHandlerBean
All Implemented Interfaces:
oracle.adf.model.binding.DCCachingErrorHandler, oracle.adf.model.binding.DCErrorHandler, oracle.adf.model.binding.DCErrorMessageHandler

public class ExceptionHandlerBean
extends MessageFormatHandler

Request Scope managed bean for handling exceptions


Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.messages.MessageFormatHandler
FAILSAFE_ERROR, FND_CMN_SYS_ERR
 
Constructor Summary
ExceptionHandlerBean()
           
 
Method Summary
 java.lang.String getErrorMessage()
           
protected  java.lang.String getExceptionType(java.lang.Throwable ex)
          Return a string representing the exception type, if this is a "special" exception that will replaced with a generic message instead of handling as a system error.
 void showPopup()
          Shows Exception popup
 
Methods inherited from class oracle.apps.fnd.applcore.messages.MessageFormatHandler
getDetailedDisplayMessage, getDisplayMessage, isDisplayOnlyException, reportException, stripWrappingExceptions
 
Methods inherited from class oracle.adf.model.binding.DCErrorHandlerImpl
isThrowFlag, setThrowFlag, skipException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandlerBean

public ExceptionHandlerBean()
Method Detail

showPopup

public void showPopup()
Shows Exception popup


getExceptionType

protected java.lang.String getExceptionType(java.lang.Throwable ex)
Return a string representing the exception type, if this is a "special" exception that will replaced with a generic message instead of handling as a system error. Return values are defined as String constants in ExceptionHandlerUtil.

Overrides:
getExceptionType in class MessageFormatHandler
Parameters:
ex - The exception
Returns:
The string representing exception type, if this is a special exception. If exception is not recognized returns FND_CMN_SYS_ERR.

getErrorMessage

public java.lang.String getErrorMessage()

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-05

Copyright © 2012 Oracle. All Rights Reserved.