KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > etymon > pjx > PdfFormatException


1 /*
2   Copyright (C) Etymon Systems, Inc. <http://www.etymon.com/>
3 */

4
5 package com.etymon.pjx;
6
7 /**
8    Thrown if a PDF object is encountered that does not conform to the
9    PDF specification.
10    @author Nassib Nassar
11 */

12 public class PdfFormatException
13     extends PdfException {
14     
15     /**
16        Creates a PdfExceptionFormat with a detailed message.
17        @param s the detailed message.
18     */

19     public PdfFormatException(String JavaDoc s) {
20         super(s);
21     }
22     
23     /**
24        Creates a PdfExceptionFormat with a detailed message and
25        offset. A detailed message is a String that describes this
26        particular exception.
27        @param s the detailed message.
28        @param errorOffset the position where the error is found
29        while parsing.
30     */

31     public PdfFormatException(String JavaDoc s, long errorOffset) {
32         super(s, errorOffset);
33     }
34
35 }
36
Popular Tags