01: /*
02: * Copyright 2004-2007 the original author or authors.
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 org.springframework.webflow.conversation;
17:
18: import org.springframework.webflow.core.FlowException;
19:
20: /**
21: * The root of the conversation service exception hierarchy.
22: *
23: * @author Keith Donald
24: */
25: public abstract class ConversationException extends FlowException {
26:
27: /**
28: * Creates a conversation service exception.
29: * @param message a descriptive message
30: */
31: public ConversationException(String message) {
32: super (message);
33: }
34:
35: /**
36: * Creates a conversation service exception.
37: * @param message a descriptive message
38: * @param cause the root cause of the problem
39: */
40: public ConversationException(String message, Throwable cause) {
41: super(message, cause);
42: }
43: }
|