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,
java.lang.Throwable cause)
Store the argument
|
Modifier and Type | Method and Description |
---|---|
FacesMessage |
getFacesMessage()
Return the |
getCause
public UpdateModelException(FacesMessage facesMessage, java.lang.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.