01: //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/trunk/src/org/deegree/io/dbaseapi/DBaseException.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.dbaseapi;
47:
48: /**
49: *
50: *
51: *
52: * @author <a href="mailto:poth@lat-lon.de">Andreas Poth</a>
53: * @author last edited by: $Author: mschneider $
54: *
55: * @version $Revision: 10547 $, $Date: 2008-03-11 01:40:28 -0700 (Tue, 11 Mar 2008) $
56: */
57: public final class DBaseException extends Exception {
58:
59: private String message = "org.deegree_impl.io.shpapi.DBaseException";
60:
61: //constructor
62: public DBaseException() {
63: }
64:
65: //constructor
66: public DBaseException(String message) {
67: this .message = message;
68: }
69:
70: public String toString() {
71: return message + "\n" + getLocalizedMessage();
72: }
73:
74: }
|