## Uses of Class
javax.faces.FacesException

- Packages that use FacesException
  Package | Description
  --- | ---
  javax.faces | Top level classes for the JavaServer(tm) Faces API.
  javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces.
  javax.faces.component | Fundamental APIs for user interface components.
  javax.faces.context | Classes and interfaces defining per-request state information.
  javax.faces.convert | Contains classes and interfaces defining converters.
  javax.faces.el | DEPRECATED Classes and interfaces for evaluating and processing reference expressions.
  javax.faces.event | Interfaces describing events and event listeners, and concrete event implementation classes.
  javax.faces.lifecycle | Classes and interfaces defining lifecycle management for the JavaServer Faces implementation.
  javax.faces.validator | Interface defining the validator model, and concrete validator implementation classes.
  javax.faces.view.facelets | This package contains public classes for the Java code API of Facelets.

- - ### Uses of FacesException in javax.faces

    Methods in javax.faces that throw FacesException
    Modifier and Type | Method and Description
    --- | ---
    `static Object` | FactoryFinder.`getFactory(String factoryName)` Create (if necessary) and return a per-web-application instance of the appropriate implementation class for the specified JavaServer Faces factory class, based on the discovery algorithm described in the class description.
    `static void` | FactoryFinder.`releaseFactories()` Release any references to factory instances associated with the class loader for the calling web application.

  - ### Uses of FacesException in javax.faces.application

    Subclasses of FacesException in javax.faces.application
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ProtectedViewException` This exception is thrown by the runtime when a violation of the view protection mechanism is encountered.
    `class` | `ViewExpiredException` Implementations must throw this `FacesException` when attempting to restore the view `StateManager.restoreView(javax.faces.context.FacesContext, String, String)` results in failure on postback.

    Methods in javax.faces.application that throw FacesException
    Modifier and Type | Method and Description
    --- | ---
    `Behavior` | ApplicationWrapper.`createBehavior(String behaviorId)` The default behavior of this method is to call `Application.createBehavior(String)` on the wrapped `Application` object.
    `Behavior` | Application.`createBehavior(String behaviorId)` Instantiate and return a new `Behavior` instance of the class specified by a previous call to `addBehavior()` for the specified behavior id.
    `UIComponent` | ApplicationWrapper.`createComponent(String componentType)` The default behavior of this method is to call `Application.createComponent(String)` on the wrapped `Application` object.
    `abstract UIComponent` | Application.`createComponent(String componentType)` Instantiate and return a new `UIComponent` instance of the class specified by a previous call to `addComponent()` for the specified component type.
    `UIComponent` | ApplicationWrapper.`createComponent(ValueBinding componentBinding, FacesContext context, String componentType)` Deprecated. See superclass for alternative.
    `abstract UIComponent` | Application.`createComponent(ValueBinding componentBinding, FacesContext context, String componentType)` Deprecated. This has been replaced by `Application.createComponent(javax.el.ValueExpression,javax.faces.context.FacesContext,java.lang.String)`.
    `UIComponent` | ApplicationWrapper.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType)` The default behavior of this method is to call `Application.createComponent(javax.el.ValueExpression, javax.faces.context.FacesContext, String)` on the wrapped `Application` object.
    `UIComponent` | Application.`createComponent(ValueExpression componentExpression, FacesContext context, String componentType)` Call the `getValue()` method on the specified `ValueExpression`.
    `Validator` | ApplicationWrapper.`createValidator(String validatorId)` The default behavior of this method is to call `Application.createValidator(String)` on the wrapped `Application` object.
    `abstract Validator` | Application.`createValidator(String validatorId)` Instantiate and return a new `Validator` instance of the class specified by a previous call to `addValidator()` for the specified validator id.
    `void` | ViewHandlerWrapper.`initView(FacesContext context)` The default behavior of this method is to call `ViewHandler.initView(javax.faces.context.FacesContext)` on the wrapped `ViewHandler` object.
    `void` | ViewHandler.`initView(FacesContext context)` Initialize the view for the request processing lifecycle.
    `void` | ViewHandlerWrapper.`renderView(FacesContext context, UIViewRoot viewToRender)` The default behavior of this method is to call `ViewHandler.renderView(javax.faces.context.FacesContext, javax.faces.component.UIViewRoot)` on the wrapped `ViewHandler` object.
    `abstract void` | ViewHandler.`renderView(FacesContext context, UIViewRoot viewToRender)` Perform whatever actions are required to render the response view to the response object associated with the current `FacesContext`.

  - ### Uses of FacesException in javax.faces.component

    Subclasses of FacesException in javax.faces.component
    Modifier and Type | Class and Description
    --- | ---
    `class` | `UpdateModelException` This exception indicates a failure to update the model and is created to wrap any exception that occurs during `UIInput.updateModel(javax.faces.context.FacesContext)`.

    Methods in javax.faces.component that throw FacesException
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | UIData.`invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)` Override behavior from `UIComponentBase.invokeOnComponent(javax.faces.context.FacesContext, java.lang.String, javax.faces.component.ContextCallback)` to provide special care for positioning the data properly before finding the component and invoking the callback on it.
    `boolean` | UIComponentBase.`invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)` Starting at this component in the View hierarchy, search for a component with a `clientId` equal to the argument `clientId` and, if found, call the `ContextCallback.invokeContextCallback(javax.faces.context.FacesContext, javax.faces.component.UIComponent)` method on the argument `callback`, passing the current `FacesContext` and the found component as arguments.
    `boolean` | UIComponent.`invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)` Starting at this component in the View hierarchy, search for a component with a `clientId` equal to the argument `clientId` and, if found, call the `ContextCallback.invokeContextCallback(javax.faces.context.FacesContext, javax.faces.component.UIComponent)` method on the argument `callback`, passing the current `FacesContext` and the found component as arguments.

  - ### Uses of FacesException in javax.faces.context

    Methods in javax.faces.context that throw FacesException
    Modifier and Type | Method and Description
    --- | ---
    `abstract ExternalContext` | ExternalContextFactory.`getExternalContext(Object context, Object request, Object response)` Create (if needed) and return an `ExternalContext` instance that is initialized for the processing of the specified request and response objects, for this web application.
    `abstract FacesContext` | FacesContextFactory.`getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)` Create (if needed) and return a `FacesContext` instance that is initialized for the processing of the specified request and response objects, utilizing the specified `Lifecycle` instance, for this web application.
    `void` | ExceptionHandlerWrapper.`handle()` The default behavior of this method is to call `ExceptionHandler.handle()` on the wrapped `ExceptionHandler` object.
    `abstract void` | ExceptionHandler.`handle()` Take action to handle the `Exception` instances residing inside the `ExceptionQueuedEvent` instances that have been queued by calls to `Application().publishEvent(ExceptionQueuedEvent.class, eventContext)`.

  - ### Uses of FacesException in javax.faces.convert

    Subclasses of FacesException in javax.faces.convert
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConverterException` ConverterException is an exception thrown by the `getAsObject()` or `getAsText()` method of a `Converter`, to indicate that the requested conversion cannot be performed.

  - ### Uses of FacesException in javax.faces.el

    Subclasses of FacesException in javax.faces.el
    Modifier and Type | Class and Description
    --- | ---
    `class` | `EvaluationException` Deprecated. This has been replaced by `ELException`.
    `class` | `MethodNotFoundException` Deprecated. This has been replaced by `MethodNotFoundException`.
    `class` | `PropertyNotFoundException` Deprecated. This has been replaced by `PropertyNotFoundException`.
    `class` | `ReferenceSyntaxException` Deprecated. This has been replaced by `ELException`.

  - ### Uses of FacesException in javax.faces.event

    Subclasses of FacesException in javax.faces.event
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbortProcessingException` An exception that may be thrown by event listeners to terminate the processing of the current event.

  - ### Uses of FacesException in javax.faces.lifecycle

    Methods in javax.faces.lifecycle that throw FacesException
    Modifier and Type | Method and Description
    --- | ---
    `void` | LifecycleWrapper.`execute(FacesContext context)`
    `abstract void` | Lifecycle.`execute(FacesContext context)` Execute all of the phases of the request processing lifecycle, up to but not including the Render Response phase, as described in the JavaServer Faces Specification, in the specified order.
    `void` | LifecycleWrapper.`render(FacesContext context)`
    `abstract void` | Lifecycle.`render(FacesContext context)` Execute the Render Response phase of the request processing lifecycle, unless the `responseComplete()` method has been called on the `FacesContext` instance associated with the current request.

  - ### Uses of FacesException in javax.faces.validator

    Subclasses of FacesException in javax.faces.validator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ValidatorException` A ValidatorException is an exception thrown by the `validate()` method of a `Validator` to indicate that validation failed.

  - ### Uses of FacesException in javax.faces.view.facelets

    Subclasses of FacesException in javax.faces.view.facelets
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FaceletException` An Exception from the Facelet implementation
    `class` | `TagAttributeException` An Exception caused by a `TagAttribute`
    `class` | `TagException` An Exception caused by a `Tag`

    Methods in javax.faces.view.facelets that throw FacesException
    Modifier and Type | Method and Description
    --- | ---
    `void` | DelegatingMetaTagHandler.`applyNextHandler(FaceletContext ctx, UIComponent c)` Invoke the `apply()` method on this instance's `TagHandler.nextHandler`.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.