com.etymon.pjx.stream
Class PdfDecoderFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.etymon.pjx.PdfException
              extended by com.etymon.pjx.stream.PdfDecoderException
                  extended by com.etymon.pjx.stream.PdfDecoderFormatException
All Implemented Interfaces:
java.io.Serializable

public class PdfDecoderFormatException
extends PdfDecoderException

Thrown if a stream decoder encounters data in a stream that it cannot decode.

See Also:
Serialized Form

Constructor Summary
PdfDecoderFormatException(java.lang.String s)
          Creates an instance of this exception with a detailed message.
PdfDecoderFormatException(java.lang.String s, long errorOffset)
          Creates an instance of this exception 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

PdfDecoderFormatException

public PdfDecoderFormatException(java.lang.String s)
Creates an instance of this exception with a detailed message.

Parameters:
s - the detailed message.

PdfDecoderFormatException

public PdfDecoderFormatException(java.lang.String s,
                                 long errorOffset)
Creates an instance of this exception 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.