svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.remoteclient / src / main / java / org / gvsig / remoteclient / wfs / exceptions / InvalidFormatException.java @ 40559
History | View | Annotate | Download (2.93 KB)
1 | 40559 | jjdelcerro | /**
|
---|---|---|---|
2 | * gvSIG. Desktop Geographic Information System.
|
||
3 | *
|
||
4 | * Copyright (C) 2007-2013 gvSIG Association.
|
||
5 | *
|
||
6 | * This program is free software; you can redistribute it and/or
|
||
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 3
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | *
|
||
11 | * This program is distributed in the hope that it will be useful,
|
||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
14 | * GNU General Public License for more details.
|
||
15 | *
|
||
16 | * You should have received a copy of the GNU General Public License
|
||
17 | * along with this program; if not, write to the Free Software
|
||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
19 | * MA 02110-1301, USA.
|
||
20 | *
|
||
21 | * For any additional information, do not hesitate to contact us
|
||
22 | * at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
23 | */
|
||
24 | 40435 | jjdelcerro | package org.gvsig.remoteclient.wfs.exceptions; |
25 | |||
26 | import java.util.Hashtable; |
||
27 | import java.util.Map; |
||
28 | |||
29 | /* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
||
30 | *
|
||
31 | * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
||
32 | *
|
||
33 | * This program is free software; you can redistribute it and/or
|
||
34 | * modify it under the terms of the GNU General Public License
|
||
35 | * as published by the Free Software Foundation; either version 2
|
||
36 | * of the License, or (at your option) any later version.
|
||
37 | *
|
||
38 | * This program is distributed in the hope that it will be useful,
|
||
39 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
40 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
41 | * GNU General Public License for more details.
|
||
42 | *
|
||
43 | * You should have received a copy of the GNU General Public License
|
||
44 | * along with this program; if not, write to the Free Software
|
||
45 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
||
46 | *
|
||
47 | * For more information, contact:
|
||
48 | *
|
||
49 | * Generalitat Valenciana
|
||
50 | * Conselleria d'Infraestructures i Transport
|
||
51 | * Av. Blasco Ib??ez, 50
|
||
52 | * 46010 VALENCIA
|
||
53 | * SPAIN
|
||
54 | *
|
||
55 | * +34 963862235
|
||
56 | * gvsig@gva.es
|
||
57 | * www.gvsig.gva.es
|
||
58 | *
|
||
59 | * or
|
||
60 | *
|
||
61 | * IVER T.I. S.A
|
||
62 | * Salamanca 50
|
||
63 | * 46005 Valencia
|
||
64 | * Spain
|
||
65 | *
|
||
66 | * +34 963163400
|
||
67 | * dac@iver.es
|
||
68 | */
|
||
69 | /* CVS MESSAGES:
|
||
70 | *
|
||
71 | * $Id: InvalidFormatException.java 29673 2009-06-29 17:19:02Z jpiera $
|
||
72 | * $Log$
|
||
73 | * Revision 1.1 2007-02-09 14:11:01 jorpiell
|
||
74 | * Primer piloto del soporte para WFS 1.1 y para WFS-T
|
||
75 | *
|
||
76 | *
|
||
77 | */
|
||
78 | /**
|
||
79 | * @author Jorge Piera Llodr? (piera_jor@gva.es)
|
||
80 | */
|
||
81 | public class InvalidFormatException extends WFSException { |
||
82 | private static final long serialVersionUID = 8833249742771533911L; |
||
83 | private String msg = null; |
||
84 | |||
85 | public InvalidFormatException(String msg) { |
||
86 | this.msg = msg;
|
||
87 | init(); |
||
88 | } |
||
89 | |||
90 | protected Map values() { |
||
91 | Hashtable params;
|
||
92 | params = new Hashtable(); |
||
93 | return params;
|
||
94 | } |
||
95 | |||
96 | public void init() { |
||
97 | messageKey = "wfs_invalidFormat";
|
||
98 | formatString = msg; |
||
99 | code = serialVersionUID; |
||
100 | } |
||
101 | } |