01: /**
02: * Sequoia: Database clustering technology.
03: * Copyright (C) 2002-2004 French National Institute For Research In Computer
04: * Science And Control (INRIA).
05: * Contact: sequoia@continuent.org
06: *
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * You may obtain a copy of the License at
10: *
11: * http://www.apache.org/licenses/LICENSE-2.0
12: *
13: * Unless required by applicable law or agreed to in writing, software
14: * distributed under the License is distributed on an "AS IS" BASIS,
15: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16: * See the License for the specific language governing permissions and
17: * limitations under the License.
18: *
19: * Initial developer(s): Mathieu Peltier.
20: * Contributor(s): ______________________________________.
21: */package org.continuent.sequoia.console.text;
22:
23: import org.continuent.sequoia.common.exceptions.SequoiaException;
24:
25: /**
26: * Console helper exception.
27: *
28: * @author <a href="mailto:Mathieu.Peltier@inrialpes.fr">Mathieu Peltier</a>
29: * @version 1.0
30: */
31: public class ConsoleException extends SequoiaException {
32: private static final long serialVersionUID = 5121566080207270091L;
33:
34: /**
35: * Creates a new <code>ConsoleException</code> instance.
36: */
37: public ConsoleException() {
38: }
39:
40: /**
41: * Creates a new <code>ConsoleException</code> instance.
42: *
43: * @param message the error message
44: */
45: public ConsoleException(String message) {
46: super (message);
47: }
48:
49: /**
50: * Creates a new <code>ConsoleException</code> instance.
51: *
52: * @param cause the root cause
53: */
54: public ConsoleException(Throwable cause) {
55: super (cause);
56: }
57:
58: /**
59: * Creates a new <code>ControllerException</code> instance.
60: *
61: * @param message the error message
62: * @param cause the root cause
63: */
64: public ConsoleException(String message, Throwable cause) {
65: super(message, cause);
66: }
67: }
|