01: /*
02: * Copyright 2007 Hippo.
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: package nl.hippo.cms.searchandreplace;
17:
18: /**
19: * <p>
20: * A base class for exceptions the client might want to handle that can be
21: * thrown during the replacement process.
22: * </p>
23: */
24: public abstract class SearchAndReplaceContingencyException extends
25: Exception {
26: /**
27: * <p>
28: * The UID identifying the version of the serialized form of this class.
29: * </p>
30: */
31: private static final long serialVersionUID = 1L;
32:
33: /**
34: * <p>
35: * Create an instance of this exception without message and cause.
36: * </p>
37: */
38: protected SearchAndReplaceContingencyException() {
39: super ();
40: }
41:
42: /**
43: * <p>
44: * Create an instance of this exception with a message.
45: * </p>
46: *
47: * @param message
48: * the exception message.
49: */
50: protected SearchAndReplaceContingencyException(String message) {
51: super (message);
52: }
53:
54: /**
55: * <p>
56: * Create an instance of this exception with a cause.
57: * </p>
58: *
59: * @param cause
60: * the cause of this exception.
61: */
62: protected SearchAndReplaceContingencyException(Throwable cause) {
63: super (cause);
64: }
65:
66: /**
67: * <p>
68: * Create an instance of this exception with a message and a cause.
69: * </p>
70: *
71: * @param message
72: * the exception message.
73: * @param cause
74: * the cause of this exception.
75: */
76: protected SearchAndReplaceContingencyException(String message,
77: Throwable cause) {
78: super(message, cause);
79: }
80: }
|