public class UpdateModelException extends FacesException
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)
. The exception is then passed
to ExceptionHandler.processEvent(javax.faces.event.SystemEvent)
, where
the ExceptionHandler
has an opportunity to handle it.
Constructor and Description |
---|
UpdateModelException(FacesMessage facesMessage,
Throwable cause)
Store the argument
|
Modifier and Type | Method and Description |
---|---|
FacesMessage |
getFacesMessage()
Return the |
getCause
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UpdateModelException(FacesMessage facesMessage, Throwable cause)
Store the argument
facesMessage
so it may be returned from getFacesMessage()
and pass the argument cause
to the
super constructor.
facesMessage
- the message for the exceptioncause
- the cause of this exceptionpublic FacesMessage getFacesMessage()
Return the FacesMessage
passed to the constructor.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.