Class UpdateModelException

    • Constructor Detail

      • UpdateModelException

        public 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.

        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