01: /*
02: * EndOfParseException.java
03: *
04: * Created on June 3, 2002, 11:38 AM
05: */
06: /*
07: * The Unified Mapping Platform (JUMP) is an extensible, interactive GUI
08: * for visualizing and manipulating spatial features with geometry and attributes.
09: *
10: * Copyright (C) 2003 Vivid Solutions
11: *
12: * This program is free software; you can redistribute it and/or
13: * modify it under the terms of the GNU General Public License
14: * as published by the Free Software Foundation; either version 2
15: * of the License, or (at your option) any later version.
16: *
17: * This program is distributed in the hope that it will be useful,
18: * but WITHOUT ANY WARRANTY; without even the implied warranty of
19: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20: * GNU General Public License for more details.
21: *
22: * You should have received a copy of the GNU General Public License
23: * along with this program; if not, write to the Free Software
24: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25: *
26: * For more information, contact:
27: *
28: * Vivid Solutions
29: * Suite #1A
30: * 2328 Government Street
31: * Victoria BC V8T 5G5
32: * Canada
33: *
34: * (250)385-6040
35: * www.vividsolutions.com
36: */
37:
38: package com.vividsolutions.jump.io;
39:
40: import org.xml.sax.SAXException;
41:
42: /**
43: * This is a fake exception class so the {@link GMLReader} can abort a read mid-stream via the standard SAX error handing methods.
44: */
45: public class EndOfParseException extends SAXException {
46: /**
47: * Creates new <code>EndOfParseException</code> without detail message.
48: */
49: public EndOfParseException() {
50: super (""); // for some unknown reason, there is no zero parameter constructor (java doc says there is)
51: }
52:
53: /**
54: * Constructs an <code>EndOfParseException</code> with the specified detail message.
55: * @param msg the detail message.
56: */
57: public EndOfParseException(String msg) {
58: super(msg);
59: }
60: }
|