Class PDFCosParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PDFCosParseException
    extends PDFInvalidDocumentException
    This exception indicates a low level parsing problem at the Cos level has occurred. This should never be exposed to client level API. Only the Cos layer and any method which takes a Cos object should throw this. Other methods should wrap it as appropriate - often with PDFInvalidDocumentException.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PDFCosParseException.CosParseErrorType
      This enum contains the possible errors which can occur while parsing PDf document.
    • Constructor Summary

      Constructors 
      Constructor Description
      PDFCosParseException​(java.lang.String message)
      Create a new PDFCosParseException.
      PDFCosParseException​(java.lang.String message, java.lang.Throwable cause)
      Create a new PDFCosParseException wrapping an existing exception.
      PDFCosParseException​(java.lang.Throwable cause)
      Create a new PDFCosParseException wrapping an existing exception.
    • Constructor Detail

      • PDFCosParseException

        public PDFCosParseException​(java.lang.String message)
        Create a new PDFCosParseException.
        Parameters:
        message - the detail message.
      • PDFCosParseException

        public PDFCosParseException​(java.lang.String message,
                                    java.lang.Throwable cause)
        Create a new PDFCosParseException wrapping an existing exception.
        Parameters:
        message - the detail message.
        cause - the cause.
      • PDFCosParseException

        public PDFCosParseException​(java.lang.Throwable cause)
        Create a new PDFCosParseException wrapping an existing exception.
        Parameters:
        cause - the cause.