Class DocumentException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BadElementException, PdfException

public class DocumentException extends RuntimeException
Signals that an error has occurred in a Document.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      A serial version UID
      See Also:
  • Constructor Details

    • DocumentException

      public DocumentException(Exception ex)
      Creates a Document exception.
      Parameters:
      ex - an exception that has to be turned into a DocumentException
    • DocumentException

      public DocumentException()
      Constructs a DocumentException without a message.
    • DocumentException

      public DocumentException(String message)
      Constructs a DocumentException with a message.
      Parameters:
      message - a message describing the exception