Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-06


oracle.adf.view.rich.context
Class ExceptionHandler

java.lang.Object
  extended by oracle.adf.view.rich.context.ExceptionHandler


public abstract class ExceptionHandler
extends java.lang.Object

Allows frameworks to intercept otherwise unhandled exceptions thrown during the JSF lifecycle. ExceptionHandlers can be registered by adding a service file with a class name at META-INF/services/oracle.adf.view.rich.context.ExceptionHandler.


Constructor Summary
ExceptionHandler()
           

 

Method Summary
abstract  void handleException(javax.faces.context.FacesContext context, java.lang.Throwable t, javax.faces.event.PhaseId id)
          Called to handle an exception that has otherwise not been handled.

 

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

 

Constructor Detail

ExceptionHandler

public ExceptionHandler()

Method Detail

handleException

public abstract void handleException(javax.faces.context.FacesContext context,
                                     java.lang.Throwable t,
                                     javax.faces.event.PhaseId id)
                              throws java.lang.Throwable
Called to handle an exception that has otherwise not been handled. An implementation should re-throw the exception if it did not directly handle it
Parameters:
context - the current FacesContext
t - a Throwable
id - the phase of the lifecycle during which the exception was thrown. May be null.
Throws:
java.lang.Throwable

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1)
E10684-06


Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.