Class Validator.Error

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ErrorCategory getCategory()
      The category of the validation error
      java.lang.String getContext()
      A description of the context where the error occurred
      java.lang.String getDataPart()
      The data part is null for the main file and a data part specification for embedded files.
      java.lang.String getMessage()
      The validation message
      int getObjectNo()
      The number of the PDF object this error is associated to
      int getPageNo()
      The page number this error is associated to or 0
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getDataPart

        public java.lang.String getDataPart()

        The data part is null for the main file and a data part specification for embedded files.

        Examples:

        • embedded-file:file.pdf: For a file file.pdf that is embedded in the main file.
        • embedded-file:file1.pdf/embedded-file:file2.pdf: For a file file2.pdf that is embedded in an embedded file file1.pdf.

      • getMessage

        public java.lang.String getMessage()
        The validation message
      • getCategory

        public ErrorCategory getCategory()
        The category of the validation error
      • getContext

        public java.lang.String getContext()
        A description of the context where the error occurred
      • getPageNo

        public int getPageNo()
        The page number this error is associated to or 0
      • getObjectNo

        public int getObjectNo()
        The number of the PDF object this error is associated to