Class UnsupportedPdfException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by
              extended by com.itextpdf.text.exceptions.InvalidPdfException
                  extended by com.itextpdf.text.exceptions.UnsupportedPdfException
All Implemented Interfaces:

public class UnsupportedPdfException
extends InvalidPdfException

Typed exception used when opening an existing PDF document. Gets thrown when the document isn't a valid PDF document according to iText, but it's different from the InvalidPdfException in the sense that it may be an iText limitation (most of the times it isn't but you might have bumped into something that has been added to the PDF specs, but that isn't supported in iText yet).

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          a serial version UID
Constructor Summary
UnsupportedPdfException(String message)
          Creates an instance of an UnsupportedPdfException.
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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


private static final long serialVersionUID
a serial version UID

See Also:
Constant Field Values
Constructor Detail


public UnsupportedPdfException(String message)
Creates an instance of an UnsupportedPdfException.

message - the reason why the document isn't a PDF document according to iText.

Hosted by Hostbasket