01: //$HeadURL: $
02: /*---------------- FILE HEADER ------------------------------------------
03: This file is part of deegree.
04: Copyright (C) 2001-2008 by:
05: Department of Geography, University of Bonn
06: http://www.giub.uni-bonn.de/deegree/
07: lat/lon GmbH
08: http://www.lat-lon.de
09:
10: This library is free software; you can redistribute it and/or
11: modify it under the terms of the GNU Lesser General Public
12: License as published by the Free Software Foundation; either
13: version 2.1 of the License, or (at your option) any later version.
14: This library is distributed in the hope that it will be useful,
15: but WITHOUT ANY WARRANTY; without even the implied warranty of
16: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17: Lesser General Public License for more details.
18: You should have received a copy of the GNU Lesser General Public
19: License along with this library; if not, write to the Free Software
20: Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21: Contact:
22:
23: Andreas Poth
24: lat/lon GmbH
25: Aennchenstr. 19
26: 53177 Bonn
27: Germany
28: E-Mail: poth@lat-lon.de
29:
30: Prof. Dr. Klaus Greve
31: Department of Geography
32: University of Bonn
33: Meckenheimer Allee 166
34: 53115 Bonn
35: Germany
36: E-Mail: greve@giub.uni-bonn.de
37: ---------------------------------------------------------------------------*/
38:
39: package org.deegree.ogcwebservices.wcts;
40:
41: import org.deegree.ogcbase.ExceptionCode;
42:
43: /**
44: * <code>WCTSExceptionCode</code> all wcts specific exception codes.
45: *
46: * @author <a href="mailto:bezema@lat-lon.de">Rutger Bezema</a>
47: *
48: * @author last edited by: $Author:$
49: *
50: * @version $Revision:$, $Date:$
51: *
52: */
53: public class WCTSExceptionCode extends ExceptionCode {
54:
55: /**
56: * No inputdata was available from a specified source for input data.
57: */
58: public static final ExceptionCode NO_INPUT_DATA = new WCTSExceptionCode(
59: "No inputdata was available from a specified source for input data.");
60:
61: /**
62: * One or more points in InputData are outside the domainOfValidity of the transformation
63: */
64: public static final ExceptionCode INVALID_AREA = new WCTSExceptionCode(
65: "One or more points in InputData are outside the domainOfValidity of the transformation.");
66:
67: /**
68: * Operation request contains output CRS that can not be used within output format.
69: */
70: public static final ExceptionCode UNSUPPORTED_COMBINATION = new WCTSExceptionCode(
71: "Operation request contains output CRS that can not be used within output format.");
72:
73: /**
74: * Operation request specifies 'store' result, but not enough storage is available to do this.
75: */
76: public static final ExceptionCode NOT_ENOUGH_STORAGE = new WCTSExceptionCode(
77: "Operation request specifies 'store' result, but not enough storage is available to do this.");
78:
79: /**
80: * @param message
81: * to present to the user.
82: */
83: public WCTSExceptionCode(String message) {
84: super(message);
85: }
86: }
|