Class JRValidationFault

    • Constructor Detail

      • JRValidationFault

        public JRValidationFault()
        Creates an empty fault.
    • Method Detail

      • getMessage

        public String getMessage()
        Returns the fault message/description.
        Returns:
        the fault description
      • setMessage

        public void setMessage​(String message)
        Sets the fault message/description.
        Parameters:
        message - the description
      • getSource

        public Object getSource()
        Returns the fault source object.

        The source is the report object that dispalayed the fault. It can be, for instance, a (@link JRDesignVariable variable}, an expression, or a report element.

        Returns:
        the fault source
      • setSource

        public void setSource​(Object source)
        Set the fault source.
        Parameters:
        source - the fault source