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(jakarta.faces.context.FacesContext). The exception is then passed to
ExceptionHandler.processEvent(jakarta.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 © 2018,2020 Eclipse Foundation.
Use is subject to license terms.