Uses of Class
jakarta.faces.FacesException
Packages that use FacesException
Package
Description
-
Uses of FacesException in jakarta.faces
Methods in jakarta.faces that throw FacesExceptionModifier and TypeMethodDescriptionstatic ObjectFactoryFinder.getFactory(String factoryName) Create (if necessary) and return a per-web-application instance of the appropriate implementation class for the specified Jakarta Faces factory class, based on the discovery algorithm described in the class description.static voidFactoryFinder.releaseFactories()Release any references to factory instances associated with the class loader for the calling web application. -
Uses of FacesException in jakarta.faces.application
Subclasses of FacesException in jakarta.faces.applicationModifier and TypeClassDescriptionclassThis exception is thrown by the runtime when a violation of the view protection mechanism is encountered.classImplementations must throw thisFacesExceptionwhen attempting to restore the viewStateManagementStrategy.restoreView(FacesContext, String, String)results in failure on postback.Methods in jakarta.faces.application that throw FacesExceptionModifier and TypeMethodDescriptionApplication.createBehavior(String behaviorId) Instantiate and return a newBehaviorinstance of the class specified by a previous call toaddBehavior()for the specified behavior id.ApplicationWrapper.createBehavior(String behaviorId) The default behavior of this method is to callApplication.createBehavior(String)on the wrappedApplicationobject.Application.createComponent(ValueExpression componentExpression, FacesContext context, String componentType) abstract UIComponentApplication.createComponent(String componentType) Instantiate and return a newUIComponentinstance of the class specified by a previous call toaddComponent()for the specified component type.ApplicationWrapper.createComponent(ValueExpression componentExpression, FacesContext context, String componentType) The default behavior of this method is to callApplication.createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String)on the wrappedApplicationobject.ApplicationWrapper.createComponent(String componentType) The default behavior of this method is to callApplication.createComponent(String)on the wrappedApplicationobject.abstract ValidatorApplication.createValidator(String validatorId) Instantiate and return a newValidatorinstance of the class specified by a previous call toaddValidator()for the specified validator id.ApplicationWrapper.createValidator(String validatorId) The default behavior of this method is to callApplication.createValidator(String)on the wrappedApplicationobject.voidViewHandler.initView(FacesContext context) Initialize the view for the request processing lifecycle.voidViewHandlerWrapper.initView(FacesContext context) The default behavior of this method is to callViewHandler.initView(jakarta.faces.context.FacesContext)on the wrappedViewHandlerobject.abstract voidViewHandler.renderView(FacesContext context, UIViewRoot viewToRender) Perform whatever actions are required to render the response view to the response object associated with the currentFacesContext.voidViewHandlerWrapper.renderView(FacesContext context, UIViewRoot viewToRender) The default behavior of this method is to callViewHandler.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot)on the wrappedViewHandlerobject. -
Uses of FacesException in jakarta.faces.component
Subclasses of FacesException in jakarta.faces.componentModifier and TypeClassDescriptionclassThis exception indicates a failure to update the model and is created to wrap any exception that occurs duringUIInput.updateModel(jakarta.faces.context.FacesContext).Methods in jakarta.faces.component that throw FacesExceptionModifier and TypeMethodDescriptionbooleanUIComponent.invokeOnComponent(FacesContext context, String clientId, ContextCallback callback) Starting at this component in the View hierarchy, search for a component with aclientIdequal to the argumentclientIdand, if found, call theContextCallback.invokeContextCallback(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent)method on the argumentcallback, passing the currentFacesContextand the found component as arguments.booleanUIComponentBase.invokeOnComponent(FacesContext context, String clientId, ContextCallback callback) Starting at this component in the View hierarchy, search for a component with aclientIdequal to the argumentclientIdand, if found, call theContextCallback.invokeContextCallback(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent)method on the argumentcallback, passing the currentFacesContextand the found component as arguments.booleanUIData.invokeOnComponent(FacesContext context, String clientId, ContextCallback callback) Override behavior fromUIComponentBase.invokeOnComponent(jakarta.faces.context.FacesContext, java.lang.String, jakarta.faces.component.ContextCallback)to provide special care for positioning the data properly before finding the component and invoking the callback on it.booleanUIForm.invokeOnComponent(FacesContext context, String clientId, ContextCallback callback) -
Uses of FacesException in jakarta.faces.component.search
Subclasses of FacesException in jakarta.faces.component.searchModifier and TypeClassDescriptionclassTypedFacesExceptionfor theSearchExpressionHandler, if a component can't be resolved. -
Uses of FacesException in jakarta.faces.context
Methods in jakarta.faces.context that throw FacesExceptionModifier and TypeMethodDescriptionabstract ExternalContextExternalContextFactory.getExternalContext(Object context, Object request, Object response) Create (if needed) and return anExternalContextinstance that is initialized for the processing of the specified request and response objects, for this web application.abstract FacesContextFacesContextFactory.getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle) Create (if needed) and return aFacesContextinstance that is initialized for the processing of the specified request and response objects, utilizing the specifiedLifecycleinstance, for this web application.abstract voidExceptionHandler.handle()Take action to handle theExceptioninstances residing inside theExceptionQueuedEventinstances that have been queued by calls toApplication().publishEvent(ExceptionQueuedEvent.class, eventContext).voidExceptionHandlerWrapper.handle()The default behavior of this method is to callExceptionHandler.handle()on the wrappedExceptionHandlerobject. -
Uses of FacesException in jakarta.faces.convert
Subclasses of FacesException in jakarta.faces.convertModifier and TypeClassDescriptionclassConverterException is an exception thrown by thegetAsObject()orgetAsText()method of aConverter, to indicate that the requested conversion cannot be performed. -
Uses of FacesException in jakarta.faces.event
Subclasses of FacesException in jakarta.faces.eventModifier and TypeClassDescriptionclassAn exception that may be thrown by event listeners to terminate the processing of the current event. -
Uses of FacesException in jakarta.faces.lifecycle
Methods in jakarta.faces.lifecycle that throw FacesExceptionModifier and TypeMethodDescriptionabstract voidLifecycle.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 section 2 "Request Processing Lifecycle" of the Jakarta Faces Specification Document, in the specified order.voidLifecycleWrapper.execute(FacesContext context) abstract voidLifecycle.render(FacesContext context) Execute the Render Response phase of the request processing lifecycle, unless theresponseComplete()method has been called on theFacesContextinstance associated with the current request.voidLifecycleWrapper.render(FacesContext context) -
Uses of FacesException in jakarta.faces.validator
Subclasses of FacesException in jakarta.faces.validatorModifier and TypeClassDescriptionclassA ValidatorException is an exception thrown by thevalidate()method of aValidatorto indicate that validation failed. -
Uses of FacesException in jakarta.faces.view.facelets
Subclasses of FacesException in jakarta.faces.view.faceletsModifier and TypeClassDescriptionclassAn Exception from the Facelet implementationfinal classAn Exception caused by aTagAttributefinal classAn Exception caused by aTagMethods in jakarta.faces.view.facelets that throw FacesExceptionModifier and TypeMethodDescriptionvoidDelegatingMetaTagHandler.applyNextHandler(FaceletContext ctx, UIComponent c) Invoke theapply()method on this instance'sTagHandler.nextHandler.