java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.faces.FacesException
jakarta.faces.component.UpdateModelException
- All Implemented Interfaces:
 Serializable
 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.
 
- Since:
 - 2.0
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionUpdateModelException(FacesMessage facesMessage, Throwable cause) Store the argumentfacesMessageso it may be returned fromgetFacesMessage()and pass the argumentcauseto the super constructor. - 
Method Summary
Modifier and TypeMethodDescriptionReturn theFacesMessagepassed to the constructor.Methods inherited from class jakarta.faces.FacesException
getCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
- 
Constructor Details
- 
UpdateModelException
Store the argument
facesMessageso it may be returned fromgetFacesMessage()and pass the argumentcauseto the super constructor.- Parameters:
 facesMessage- the message for the exceptioncause- the cause of this exception- Since:
 - 2.0
 
 
 - 
 - 
Method Details
- 
getFacesMessage
Return the
FacesMessagepassed to the constructor.- Returns:
 - the message of this exception.
 - Since:
 - 2.0
 
 
 -