Uses of Class
jakarta.faces.FacesException
-
Uses of FacesException in com.sun.faces.application
Methods in com.sun.faces.application that throw FacesException Modifier and Type Method Description BehaviorApplicationImpl. createBehavior(String behaviorId)UIComponentApplicationImpl. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)UIComponentApplicationImpl. createComponent(FacesContext context, Resource componentResource)UIComponentApplicationImpl. createComponent(ValueBinding componentBinding, FacesContext context, String componentType)UIComponentApplicationImpl. createComponent(String componentType)Validator<?>ApplicationImpl. createValidator(String validatorId)voidViewHandlerImpl. initView(FacesContext context)Deprecated.Do not call the default implementation ofViewHandler.initView(jakarta.faces.context.FacesContext)if theExternalContext.getRequestCharacterEncoding()returns anon-nullresult.voidViewHandlerImpl. renderView(FacesContext context, UIViewRoot viewToRender)Deprecated. -
Uses of FacesException in com.sun.faces.application.applicationimpl
Methods in com.sun.faces.application.applicationimpl that throw FacesException Modifier and Type Method Description BehaviorInstanceFactory. createBehavior(String behaviorId)UIComponentInstanceFactory. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)UIComponentInstanceFactory. createComponent(FacesContext context, Resource componentResource, jakarta.el.ExpressionFactory expressionFactory)UIComponentInstanceFactory. createComponent(ValueBinding componentBinding, FacesContext context, String componentType)UIComponentInstanceFactory. createComponent(String componentType)Validator<?>InstanceFactory. createValidator(String validatorId) -
Uses of FacesException in com.sun.faces.application.view
Subclasses of FacesException in com.sun.faces.application.view Modifier and Type Class Description classViewHandlingStrategyNotFoundExceptionIndicates that noViewHandlingStrategyinstances were found appropriate to a particulare view ID.Methods in com.sun.faces.application.view that throw FacesException Modifier and Type Method Description voidMultiViewHandler. initView(FacesContext context)Call the default implementation ofViewHandler.initView(jakarta.faces.context.FacesContext)voidMultiViewHandler. renderView(FacesContext context, UIViewRoot viewToRender)CallViewDeclarationLanguage.renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot)if the view can be rendered. -
Uses of FacesException in com.sun.faces.config
Subclasses of FacesException in com.sun.faces.config Modifier and Type Class Description classConfigurationExceptionThis represents any configuration processing problems that could occur. -
Uses of FacesException in com.sun.faces.context
Methods in com.sun.faces.context that throw FacesException Modifier and Type Method Description voidExternalContextImpl. dispatch(String requestURI)ExternalContextExternalContextFactoryImpl. getExternalContext(Object servletContext, Object request, Object response)FacesContextFacesContextFactoryImpl. getFacesContext(Object sc, Object request, Object response, Lifecycle lifecycle)FacesContextInjectionFacesContextFactory. getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)voidAjaxExceptionHandlerImpl. handle()voidExceptionHandlerImpl. handle() -
Uses of FacesException in com.sun.faces.facelets
Methods in com.sun.faces.facelets that throw FacesException Modifier and Type Method Description abstract booleanFaceletContextImplBase. includeDefinition(UIComponent parent, String name)This method will walk through the TemplateClient stack to resolve and apply the definition for the passed name. -
Uses of FacesException in com.sun.faces.facelets.component
Methods in com.sun.faces.facelets.component that throw FacesException Modifier and Type Method Description booleanUIRepeat. invokeOnComponent(FacesContext faces, String clientId, ContextCallback callback) -
Uses of FacesException in com.sun.faces.facelets.tag
Methods in com.sun.faces.facelets.tag that throw FacesException Modifier and Type Method Description TagHandlerAbstractTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)TagHandlerCompositeTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)TagHandlerTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)Create a new instance of a TagHandler, using the passed TagConfig -
Uses of FacesException in com.sun.faces.facelets.tag.composite
Methods in com.sun.faces.facelets.tag.composite that throw FacesException Modifier and Type Method Description booleanBehaviorHolderWrapper. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback) -
Uses of FacesException in com.sun.faces.facelets.tag.jsf
Methods in com.sun.faces.facelets.tag.jsf that throw FacesException Modifier and Type Method Description voidCompositeComponentTagHandler. applyNextHandler(FaceletContext ctx, UIComponent c)TagHandlerCompositeComponentTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)TagHandlerFacesComponentTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)static voidComponentSupport. encodeRecursive(FacesContext context, UIComponent viewToRender) -
Uses of FacesException in com.sun.faces.facelets.tag.jsf.core
Methods in com.sun.faces.facelets.tag.jsf.core that throw FacesException Modifier and Type Method Description protected ConverterConvertDateTimeHandler. createConverter(FaceletContext ctx)Returns a new DateTimeConverterprotected ConverterConvertDelegateHandler. createConverter(FaceletContext ctx)Uses the specified "converterId" to pull an instance from the Applicationprotected ConverterConvertNumberHandler. createConverter(FaceletContext ctx)Returns a new NumberConverter -
Uses of FacesException in com.sun.faces.facelets.tag.jstl.core
Methods in com.sun.faces.facelets.tag.jstl.core that throw FacesException Modifier and Type Method Description voidIfHandler. apply(FaceletContext ctx, UIComponent parent) -
Uses of FacesException in com.sun.faces.facelets.util
Methods in com.sun.faces.facelets.util that throw FacesException Modifier and Type Method Description TagHandlerFunctionLibrary. createTagHandler(String ns, String localName, TagConfig tag) -
Uses of FacesException in com.sun.faces.lifecycle
Methods in com.sun.faces.lifecycle that throw FacesException Modifier and Type Method Description voidApplyRequestValuesPhase. execute(FacesContext facesContext)voidInvokeApplicationPhase. execute(FacesContext facesContext)voidLifecycleImpl. execute(FacesContext context)abstract voidPhase. execute(FacesContext context)Perform all state transitions required by the current phase of the request processingLifecyclefor a particular request.voidProcessValidationsPhase. execute(FacesContext facesContext)voidRenderResponsePhase. execute(FacesContext facesContext)voidRestoreViewPhase. execute(FacesContext facesContext)PRECONDITION: the necessary factories have been installed in the ServletContext attr set.LifecycleLifecycleFactoryImpl. getLifecycle(String lifecycleId)voidLifecycleImpl. render(FacesContext context) -
Uses of FacesException in com.sun.faces.mgbean
Subclasses of FacesException in com.sun.faces.mgbean Modifier and Type Class Description classManagedBeanCreationExceptionIndicates an error in the ManagedBean, be it a user error or runtime error.classManagedBeanPreProcessingExceptionRepresents errors from managed bean pre-processing. -
Uses of FacesException in com.sun.faces.renderkit
Methods in com.sun.faces.renderkit with parameters of type FacesException Modifier and Type Method Description static voidRenderKitUtils. renderHtmlErrorPage(FacesContext ctx, FacesException fe)Methods in com.sun.faces.renderkit that throw FacesException Modifier and Type Method Description static ResponseStateManagerRenderKitUtils. getResponseStateManager(FacesContext context, String renderKitId)Obtain and return theResponseStateManagerfor the specified #renderKitId. -
Uses of FacesException in com.sun.faces.renderkit.html_basic
Constructors in com.sun.faces.renderkit.html_basic that throw FacesException Constructor Description HtmlResponseWriter(Writer writer, String contentType, String encoding)Constructor sets theResponseWriterand encoding, and enables script hiding by default.HtmlResponseWriter(Writer writer, String contentType, String encoding, Boolean isScriptHidingEnabled, Boolean isScriptInAttributeValueEnabled, WebConfiguration.DisableUnicodeEscaping disableUnicodeEscaping, boolean isPartial)Constructor sets theResponseWriterand encoding. -
Uses of FacesException in com.sun.faces.util
Methods in com.sun.faces.util that throw FacesException Modifier and Type Method Description static ClassLoaderUtil. getContextClassLoader2()Identify and return the class loader that is associated with the calling web application.static StateManagerUtil. getStateManager(FacesContext context)static ViewHandlerUtil. getViewHandler(FacesContext context) -
Uses of FacesException in jakarta.faces
Methods in jakarta.faces that throw FacesException Modifier and Type Method Description static ObjectFactoryFinder. getFactory(String factoryName)Create (if necessary) and return a per-web-application instance of the appropriate implementation class for the specified Jakarta Server 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.application Modifier and Type Class Description classProtectedViewExceptionThis exception is thrown by the runtime when a violation of the view protection mechanism is encountered.classViewExpiredExceptionImplementations must throw thisFacesExceptionwhen attempting to restore the viewStateManager.restoreView(jakarta.faces.context.FacesContext, String, String)results in failure on postback.Methods in jakarta.faces.application that throw FacesException Modifier and Type Method Description BehaviorApplication. createBehavior(String behaviorId)Instantiate and return a newBehaviorinstance of the class specified by a previous call toaddBehavior()for the specified behavior id.BehaviorApplicationWrapper. createBehavior(String behaviorId)The default behavior of this method is to callApplication.createBehavior(String)on the wrappedApplicationobject.UIComponentApplication. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)Call thegetValue()method on the specifiedValueExpression.abstract UIComponentApplication. createComponent(ValueBinding componentBinding, FacesContext context, String componentType)Deprecated.This has been replaced byApplication.createComponent(jakarta.el.ValueExpression,jakarta.faces.context.FacesContext,java.lang.String).abstract UIComponentApplication. createComponent(String componentType)Instantiate and return a newUIComponentinstance of the class specified by a previous call toaddComponent()for the specified component type.UIComponentApplicationWrapper. createComponent(jakarta.el.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.UIComponentApplicationWrapper. createComponent(ValueBinding componentBinding, FacesContext context, String componentType)Deprecated.See superclass for alternative.UIComponentApplicationWrapper. 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.ValidatorApplicationWrapper. 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.component Modifier and Type Class Description classUpdateModelExceptionThis 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 FacesException Modifier and Type Method Description booleanUIComponent. 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. -
Uses of FacesException in jakarta.faces.component.search
Subclasses of FacesException in jakarta.faces.component.search Modifier and Type Class Description classComponentNotFoundExceptionTypedFacesExceptionfor theSearchExpressionHandler, if a component can't be resolved. -
Uses of FacesException in jakarta.faces.context
Methods in jakarta.faces.context that throw FacesException Modifier and Type Method Description abstract 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.convert Modifier and Type Class Description classConverterExceptionConverterException 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.el
Subclasses of FacesException in jakarta.faces.el Modifier and Type Class Description classEvaluationExceptionDeprecated.This has been replaced byELException.classMethodNotFoundExceptionDeprecated.This has been replaced byMethodNotFoundException.classPropertyNotFoundExceptionDeprecated.This has been replaced byPropertyNotFoundException.classReferenceSyntaxExceptionDeprecated.This has been replaced byELException. -
Uses of FacesException in jakarta.faces.event
Subclasses of FacesException in jakarta.faces.event Modifier and Type Class Description classAbortProcessingExceptionAn 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 FacesException Modifier and Type Method Description abstract 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 the Jakarta Server Faces Specification, 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.validator Modifier and Type Class Description classValidatorExceptionA 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.facelets Modifier and Type Class Description classFaceletExceptionAn Exception from the Facelet implementationclassTagAttributeExceptionAn Exception caused by aTagAttributeclassTagExceptionAn Exception caused by aTagMethods in jakarta.faces.view.facelets that throw FacesException Modifier and Type Method Description voidDelegatingMetaTagHandler. applyNextHandler(FaceletContext ctx, UIComponent c)Invoke theapply()method on this instance'sTagHandler.nextHandler.