Class XfdfException

  • All Implemented Interfaces:
    java.io.Serializable

    public class XfdfException
    extends ITextException
    This class represents iText exception that should be thrown when some errors occur while working with XFDF objects (XFDF file is XML-based Acrobat Forms Data Format).
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ATTRIBUTE_NAME_OR_VALUE_MISSING
      Message in case one tries to add attribute with null name or value.
      static java.lang.String PAGE_IS_MISSING
      Message in case one tries to add annotation without indicating the page it belongs to.
    • Constructor Summary

      Constructors 
      Constructor Description
      XfdfException​(java.lang.String message)
      The exception thrown when some errors occur while working with XFDF objects.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • ATTRIBUTE_NAME_OR_VALUE_MISSING

        public static final java.lang.String ATTRIBUTE_NAME_OR_VALUE_MISSING
        Message in case one tries to add attribute with null name or value.
        See Also:
        Constant Field Values
      • PAGE_IS_MISSING

        public static final java.lang.String PAGE_IS_MISSING
        Message in case one tries to add annotation without indicating the page it belongs to.
        See Also:
        Constant Field Values
    • Constructor Detail

      • XfdfException

        public XfdfException​(java.lang.String message)
        The exception thrown when some errors occur while working with XFDF objects.
        Parameters:
        message - exception message.