01: /*
02: * Copyright 2005 jWic group (http://www.jwic.de)
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: *
16: * de.jwic.base.ControlNotFoundException
17: * $Id: ControlNotFoundException.java,v 1.1 2006/01/16 08:30:40 lordsam Exp $
18: */
19: package de.jwic.base;
20:
21: /**
22: * Thrown when a control was not found.
23: * @author Florian Lippisch
24: * @version $Revision: 1.1 $
25: */
26: public class ControlNotFoundException extends RuntimeException {
27:
28: private static final long serialVersionUID = 6009335074727417445L;
29:
30: private String controlId = "unknown";
31:
32: /**
33: *
34: */
35: public ControlNotFoundException() {
36: super ();
37: }
38:
39: /**
40: * @param message
41: */
42: public ControlNotFoundException(String message) {
43: super (message);
44: }
45:
46: /**
47: * @param message
48: * @param cause
49: */
50: public ControlNotFoundException(String message, Throwable cause) {
51: super (message, cause);
52: }
53:
54: /**
55: * @param cause
56: */
57: public ControlNotFoundException(Throwable cause) {
58: super (cause);
59: }
60:
61: /**
62: * @return Returns the controlTypeId.
63: */
64: public String getControlId() {
65: return controlId;
66: }
67:
68: /**
69: * @param controlTypeId The controlTypeId to set.
70: */
71: public void setControlId(String controlId) {
72: this.controlId = controlId;
73: }
74: }
|