com.etymon.pjx.stream
Class PdfDecoderException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PdfDecoderFormatException, PdfDecoderNotSupportedException

public class PdfDecoderException
extends PdfException

Thrown if there is a problem related to PDF stream encoding or decoding.

See Also:
Serialized Form

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

PdfDecoderException

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

Parameters:
s - the detailed message.

PdfDecoderException

public PdfDecoderException(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.