com.etymon.pjx
Class PdfFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.etymon.pjx.PdfException
              extended by com.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.
 
Method Summary
 
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
clone, equals, finalize, 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.