oracle.adf.view.rich.context

## Class ExceptionHandler

- java.lang.Object
- - oracle.adf.view.rich.context.ExceptionHandler

-     @Exported
      public abstract class ExceptionHandler
      extends 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

    Constructors
    Constructor and Description
    `ExceptionHandler()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `handleException(javax.faces.context.FacesContext context, 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,
                                               Throwable t,
                                               javax.faces.event.PhaseId id)
                                        throws 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:
        `Throwable` - any excpetion.

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