javax.faces.component
public class: UpdateModelException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.faces.FacesException
javax.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 . The exception is then passed
to javax.faces.context.ExceptionHandler#processEvent , where
the ExceptionHandler
has an opportunity to handle it.
Constructor: |
public UpdateModelException(FacesMessage facesMessage,
Throwable cause) {
super(cause);
this.facesMessage = facesMessage;
}
Store the argument
facesMessage so it may be returned from #getFacesMessage and pass the argument cause to the
super constructor.
Parameters:
facesMessage - the message for the exception
cause - the cause of this exception
- since:
2.0 -
|
Method from javax.faces.component.UpdateModelException Summary: |
---|
getFacesMessage |
Methods from javax.faces.FacesException: |
---|
getCause |
Methods from java.lang.Throwable: |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |