Class UpdateModelException

    • Constructor Summary

      Constructors 
      Constructor Description
      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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FacesMessage getFacesMessage​()
      Return the FacesMessage passed to the constructor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • UpdateModelException

        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.

        Parameters:
        facesMessage - the message for the exception
        cause - the cause of this exception
        Since:
        2.0
    • Method Detail

      • getFacesMessage

        public FacesMessage getFacesMessage​()

        Return the FacesMessage passed to the constructor.

        Returns:
        the message of this exception.
        Since:
        2.0