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 |
getCauseaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 © 2017 JBoss by Red Hat. All rights reserved.