01: /* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
02: * This code is licensed under the GPL 2.0 license, availible at the root
03: * application directory.
04: */
05: package org.geoserver.wfs;
06:
07: /**
08: * WFS_T application specific exception.
09: *
10: * @author Justin Deoliveira, The Open Planning Project
11: *
12: */
13: public class WFSTransactionException extends WFSException {
14: /** handle of the transaction request */
15: String handle;
16:
17: public WFSTransactionException(String message, String code,
18: String locator, String handle) {
19: super (message, code, locator);
20: this .handle = handle;
21: }
22:
23: public WFSTransactionException(String message, String code,
24: String locator) {
25: super (message, code, locator);
26: }
27:
28: public WFSTransactionException(String message, String code) {
29: super (message, code);
30: }
31:
32: public WFSTransactionException(String message, Throwable cause,
33: String code, String locator, String handle) {
34: super (message, cause, code, locator);
35: this .handle = handle;
36: }
37:
38: public WFSTransactionException(String message, Throwable cause,
39: String code, String locator) {
40: super (message, cause, code, locator);
41: }
42:
43: public WFSTransactionException(String message, Throwable cause,
44: String code) {
45: super (message, cause, code);
46: }
47:
48: public WFSTransactionException(String message, Throwable cause) {
49: super (message, cause);
50: }
51:
52: public WFSTransactionException(String message) {
53: super (message);
54: }
55:
56: public WFSTransactionException(Throwable cause, String code,
57: String locator, String handle) {
58: super (cause, code, locator);
59: this .handle = handle;
60: }
61:
62: public WFSTransactionException(Throwable cause, String code,
63: String locator) {
64: super (cause, code, locator);
65: }
66:
67: public WFSTransactionException(Throwable cause, String code) {
68: super (cause, code);
69: }
70:
71: public WFSTransactionException(Throwable cause) {
72: super (cause);
73: }
74:
75: public void setHandle(String handle) {
76: this .handle = handle;
77: }
78:
79: public String getHandle() {
80: return handle;
81: }
82: }
|