01: /*
02: Copyright (C) Etymon Systems, Inc. <http://www.etymon.com/>
03: */
04:
05: package com.etymon.pjx;
06:
07: /**
08: Thrown if a PDF object is encountered that does not conform to the
09: PDF specification.
10: @author Nassib Nassar
11: */
12: public class PdfFormatException extends PdfException {
13:
14: /**
15: Creates a PdfExceptionFormat with a detailed message.
16: @param s the detailed message.
17: */
18: public PdfFormatException(String s) {
19: super (s);
20: }
21:
22: /**
23: Creates a PdfExceptionFormat with a detailed message and
24: offset. A detailed message is a String that describes this
25: particular exception.
26: @param s the detailed message.
27: @param errorOffset the position where the error is found
28: while parsing.
29: */
30: public PdfFormatException(String s, long errorOffset) {
31: super(s, errorOffset);
32: }
33:
34: }
|