PJX

com.etymon.pjx
Class PdfFormatException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.etymon.pjx.PdfException
              extended bycom.etymon.pjx.PdfFormatException
All Implemented Interfaces:
java.io.Serializable

public class PdfFormatException
extends PdfException

Thrown if a PDF object is encountered that does not conform to the PDF specification.

See Also:
Serialized Form

Constructor Summary
PdfFormatException(java.lang.String s)
          Creates a PdfExceptionFormat with a detailed message.
PdfFormatException(java.lang.String s, long errorOffset)
          Creates a PdfExceptionFormat with a detailed message and offset.
 
Methods inherited from class com.etymon.pjx.PdfException
getOffset
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfFormatException

public PdfFormatException(java.lang.String s)
Creates a PdfExceptionFormat with a detailed message.

Parameters:
s - the detailed message.

PdfFormatException

public PdfFormatException(java.lang.String s,
                          long errorOffset)
Creates a PdfExceptionFormat with a detailed message and offset. A detailed message is a String that describes this particular exception.

Parameters:
s - the detailed message.
errorOffset - the position where the error is found while parsing.

Copyright © 1998-2004 Etymon Systems, Inc.

The PDF data structures, operators, and specification are
Copyright © 1985-2004 Adobe Systems Incorporated.