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 Behavior
ApplicationImpl. createBehavior(String behaviorId)
UIComponent
ApplicationImpl. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)
UIComponent
ApplicationImpl. createComponent(FacesContext context, Resource componentResource)
UIComponent
ApplicationImpl. createComponent(ValueBinding componentBinding, FacesContext context, String componentType)
UIComponent
ApplicationImpl. createComponent(String componentType)
Validator<?>
ApplicationImpl. createValidator(String validatorId)
void
ViewHandlerImpl. initView(FacesContext context)
Deprecated.Do not call the default implementation ofViewHandler.initView(jakarta.faces.context.FacesContext)
if theExternalContext.getRequestCharacterEncoding()
returns anon-null
result.void
ViewHandlerImpl. 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 Behavior
InstanceFactory. createBehavior(String behaviorId)
UIComponent
InstanceFactory. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)
UIComponent
InstanceFactory. createComponent(FacesContext context, Resource componentResource, jakarta.el.ExpressionFactory expressionFactory)
UIComponent
InstanceFactory. createComponent(ValueBinding componentBinding, FacesContext context, String componentType)
UIComponent
InstanceFactory. 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 class
ViewHandlingStrategyNotFoundException
Indicates that noViewHandlingStrategy
instances were found appropriate to a particulare view ID.Methods in com.sun.faces.application.view that throw FacesException Modifier and Type Method Description void
MultiViewHandler. initView(FacesContext context)
Call the default implementation ofViewHandler.initView(jakarta.faces.context.FacesContext)
void
MultiViewHandler. 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 class
ConfigurationException
This 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 void
ExternalContextImpl. dispatch(String requestURI)
ExternalContext
ExternalContextFactoryImpl. getExternalContext(Object servletContext, Object request, Object response)
FacesContext
FacesContextFactoryImpl. getFacesContext(Object sc, Object request, Object response, Lifecycle lifecycle)
FacesContext
InjectionFacesContextFactory. getFacesContext(Object context, Object request, Object response, Lifecycle lifecycle)
void
AjaxExceptionHandlerImpl. handle()
void
ExceptionHandlerImpl. handle()
-
Uses of FacesException in com.sun.faces.facelets
Methods in com.sun.faces.facelets that throw FacesException Modifier and Type Method Description abstract boolean
FaceletContextImplBase. 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 boolean
UIRepeat. 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 TagHandler
AbstractTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)
TagHandler
CompositeTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)
TagHandler
TagLibrary. 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 boolean
BehaviorHolderWrapper. 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 void
CompositeComponentTagHandler. applyNextHandler(FaceletContext ctx, UIComponent c)
TagHandler
CompositeComponentTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)
TagHandler
FacesComponentTagLibrary. createTagHandler(String ns, String localName, TagConfig tag)
static void
ComponentSupport. 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 Converter
ConvertDateTimeHandler. createConverter(FaceletContext ctx)
Returns a new DateTimeConverterprotected Converter
ConvertDelegateHandler. createConverter(FaceletContext ctx)
Uses the specified "converterId" to pull an instance from the Applicationprotected Converter
ConvertNumberHandler. 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 void
IfHandler. 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 TagHandler
FunctionLibrary. 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 void
ApplyRequestValuesPhase. execute(FacesContext facesContext)
void
InvokeApplicationPhase. execute(FacesContext facesContext)
void
LifecycleImpl. execute(FacesContext context)
abstract void
Phase. execute(FacesContext context)
Perform all state transitions required by the current phase of the request processingLifecycle
for a particular request.void
ProcessValidationsPhase. execute(FacesContext facesContext)
void
RenderResponsePhase. execute(FacesContext facesContext)
void
RestoreViewPhase. execute(FacesContext facesContext)
PRECONDITION: the necessary factories have been installed in the ServletContext attr set.Lifecycle
LifecycleFactoryImpl. getLifecycle(String lifecycleId)
void
LifecycleImpl. render(FacesContext context)
-
Uses of FacesException in com.sun.faces.mgbean
Subclasses of FacesException in com.sun.faces.mgbean Modifier and Type Class Description class
ManagedBeanCreationException
Indicates an error in the ManagedBean, be it a user error or runtime error.class
ManagedBeanPreProcessingException
Represents 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 void
RenderKitUtils. renderHtmlErrorPage(FacesContext ctx, FacesException fe)
Methods in com.sun.faces.renderkit that throw FacesException Modifier and Type Method Description static ResponseStateManager
RenderKitUtils. getResponseStateManager(FacesContext context, String renderKitId)
Obtain and return theResponseStateManager
for 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 theResponseWriter
and 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 theResponseWriter
and encoding. -
Uses of FacesException in com.sun.faces.util
Methods in com.sun.faces.util that throw FacesException Modifier and Type Method Description static ClassLoader
Util. getContextClassLoader2()
Identify and return the class loader that is associated with the calling web application.static StateManager
Util. getStateManager(FacesContext context)
static ViewHandler
Util. getViewHandler(FacesContext context)
-
Uses of FacesException in jakarta.faces
Methods in jakarta.faces that throw FacesException Modifier and Type Method 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 Jakarta Server 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 jakarta.faces.application
Subclasses of FacesException in jakarta.faces.application Modifier and Type Class 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 thisFacesException
when 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 Behavior
Application. createBehavior(String behaviorId)
Instantiate and return a newBehavior
instance of the class specified by a previous call toaddBehavior()
for the specified behavior id.Behavior
ApplicationWrapper. createBehavior(String behaviorId)
The default behavior of this method is to callApplication.createBehavior(String)
on the wrappedApplication
object.UIComponent
Application. createComponent(jakarta.el.ValueExpression componentExpression, FacesContext context, String componentType)
Call thegetValue()
method on the specifiedValueExpression
.abstract UIComponent
Application. 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 UIComponent
Application. createComponent(String componentType)
Instantiate and return a newUIComponent
instance of the class specified by a previous call toaddComponent()
for the specified component type.UIComponent
ApplicationWrapper. 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 wrappedApplication
object.UIComponent
ApplicationWrapper. createComponent(ValueBinding componentBinding, FacesContext context, String componentType)
Deprecated.See superclass for alternative.UIComponent
ApplicationWrapper. createComponent(String componentType)
The default behavior of this method is to callApplication.createComponent(String)
on the wrappedApplication
object.abstract Validator
Application. createValidator(String validatorId)
Instantiate and return a newValidator
instance of the class specified by a previous call toaddValidator()
for the specified validator id.Validator
ApplicationWrapper. createValidator(String validatorId)
The default behavior of this method is to callApplication.createValidator(String)
on the wrappedApplication
object.void
ViewHandler. initView(FacesContext context)
Initialize the view for the request processing lifecycle.void
ViewHandlerWrapper. initView(FacesContext context)
The default behavior of this method is to callViewHandler.initView(jakarta.faces.context.FacesContext)
on the wrappedViewHandler
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 currentFacesContext
.void
ViewHandlerWrapper. 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 wrappedViewHandler
object. -
Uses of FacesException in jakarta.faces.component
Subclasses of FacesException in jakarta.faces.component Modifier and Type Class Description class
UpdateModelException
This 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 boolean
UIComponent. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)
Starting at this component in the View hierarchy, search for a component with aclientId
equal to the argumentclientId
and, if found, call theContextCallback.invokeContextCallback(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent)
method on the argumentcallback
, passing the currentFacesContext
and the found component as arguments.boolean
UIComponentBase. invokeOnComponent(FacesContext context, String clientId, ContextCallback callback)
Starting at this component in the View hierarchy, search for a component with aclientId
equal to the argumentclientId
and, if found, call theContextCallback.invokeContextCallback(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent)
method on the argumentcallback
, passing the currentFacesContext
and the found component as arguments.boolean
UIData. 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 class
ComponentNotFoundException
TypedFacesException
for 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 ExternalContext
ExternalContextFactory. getExternalContext(Object context, Object request, Object response)
Create (if needed) and return anExternalContext
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 aFacesContext
instance that is initialized for the processing of the specified request and response objects, utilizing the specifiedLifecycle
instance, for this web application.abstract void
ExceptionHandler. handle()
Take action to handle theException
instances residing inside theExceptionQueuedEvent
instances that have been queued by calls toApplication().publishEvent(ExceptionQueuedEvent.class, eventContext)
.void
ExceptionHandlerWrapper. handle()
The default behavior of this method is to callExceptionHandler.handle()
on the wrappedExceptionHandler
object. -
Uses of FacesException in jakarta.faces.convert
Subclasses of FacesException in jakarta.faces.convert Modifier and Type Class Description class
ConverterException
ConverterException 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 class
EvaluationException
Deprecated.This has been replaced byELException
.class
MethodNotFoundException
Deprecated.This has been replaced byMethodNotFoundException
.class
PropertyNotFoundException
Deprecated.This has been replaced byPropertyNotFoundException
.class
ReferenceSyntaxException
Deprecated.This has been replaced byELException
. -
Uses of FacesException in jakarta.faces.event
Subclasses of FacesException in jakarta.faces.event Modifier and Type Class Description class
AbortProcessingException
An 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 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 Jakarta Server Faces Specification, in the specified order.void
LifecycleWrapper. execute(FacesContext context)
abstract void
Lifecycle. render(FacesContext context)
Execute the Render Response phase of the request processing lifecycle, unless theresponseComplete()
method has been called on theFacesContext
instance associated with the current request.void
LifecycleWrapper. render(FacesContext context)
-
Uses of FacesException in jakarta.faces.validator
Subclasses of FacesException in jakarta.faces.validator Modifier and Type Class Description class
ValidatorException
A ValidatorException is an exception thrown by thevalidate()
method of aValidator
to 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 class
FaceletException
An Exception from the Facelet implementationclass
TagAttributeException
An Exception caused by aTagAttribute
class
TagException
An Exception caused by aTag
Methods in jakarta.faces.view.facelets that throw FacesException Modifier and Type Method Description void
DelegatingMetaTagHandler. applyNextHandler(FaceletContext ctx, UIComponent c)
Invoke theapply()
method on this instance'sTagHandler.nextHandler
.