01: //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/trunk/src/org/deegree/io/shpapi/HasNoDBaseFileException.java $
02:
03: /*---------------- FILE HEADER ------------------------------------------
04:
05: This file is part of deegree.
06: Copyright (C) 2001-2008 by:
07: EXSE, Department of Geography, University of Bonn
08: http://www.giub.uni-bonn.de/deegree/
09: lat/lon GmbH
10: http://www.lat-lon.de
11:
12: This library is free software; you can redistribute it and/or
13: modify it under the terms of the GNU Lesser General Public
14: License as published by the Free Software Foundation; either
15: version 2.1 of the License, or (at your option) any later version.
16:
17: This library 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 GNU
20: Lesser General Public License for more details.
21:
22: You should have received a copy of the GNU Lesser General Public
23: License along with this library; if not, write to the Free Software
24: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25:
26: Contact:
27:
28: Andreas Poth
29: lat/lon GmbH
30: Aennchenstr. 19
31: 53115 Bonn
32: Germany
33: E-Mail: poth@lat-lon.de
34:
35: Prof. Dr. Klaus Greve
36: Department of Geography
37: University of Bonn
38: Meckenheimer Allee 166
39: 53115 Bonn
40: Germany
41: E-Mail: greve@giub.uni-bonn.de
42:
43:
44: ---------------------------------------------------------------------------*/
45:
46: package org.deegree.io.shpapi;
47:
48: /**
49: * class defining an exception that is thrown if no
50: * dBase-file is associated with a shape-file
51: *
52: *
53: * @version 05.04.2000
54: * @author Andreas Poth
55: */
56: public final class HasNoDBaseFileException extends Exception {
57:
58: private String message = "org.deegree_impl.io.shpapi.HasNoDBaseFileException";
59:
60: //constructor
61: public HasNoDBaseFileException() {
62:
63: super ();
64:
65: }
66:
67: //constructor
68: public HasNoDBaseFileException(String message) {
69:
70: super (message);
71:
72: this .message = message;
73:
74: }
75:
76: public String toString() {
77:
78: return message + "\n" + this.getLocalizedMessage();
79:
80: }
81:
82: }
|