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: * This exception is thrown if the document in which replacement should take
21: * place cannot be read (i.e. the HTTP status code returned was not
22: * <code>SC_OK</code> (200)).
23: * </p>
24: */
25: public class UnableToReadException extends
26: SearchAndReplaceContingencyException {
27: /**
28: * <p>
29: * The UID identifying the version of the serialized form of this class.
30: * </p>
31: */
32: private static final long serialVersionUID = 1L;
33:
34: /**
35: * <p>
36: * Create an instance of this exception with a message.
37: * </p>
38: *
39: * @param message
40: * the exception message.
41: */
42: public UnableToReadException(String message) {
43: super(message);
44: }
45: }
|