1 /**
2 * Copyright 2006-2016 the original author or authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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.mybatis.generator.exception;
17
18 /**
19 * This class is used by the ShellCallback methods to denote unrecoverable
20 * errors.
21 *
22 * @author Jeff Butler
23 */
24 public class ShellException extends Exception {
25
26 /** The Constant serialVersionUID. */
27 static final long serialVersionUID = -2026841561754434544L;
28
29 /**
30 * Instantiates a new shell exception.
31 */
32 public ShellException() {
33 super();
34 }
35
36 /**
37 * Instantiates a new shell exception.
38 *
39 * @param arg0
40 * the arg0
41 */
42 public ShellException(String arg0) {
43 super(arg0);
44 }
45
46 /**
47 * Instantiates a new shell exception.
48 *
49 * @param arg0
50 * the arg0
51 * @param arg1
52 * the arg1
53 */
54 public ShellException(String arg0, Throwable arg1) {
55 super(arg0, arg1);
56 }
57
58 /**
59 * Instantiates a new shell exception.
60 *
61 * @param arg0
62 * the arg0
63 */
64 public ShellException(Throwable arg0) {
65 super(arg0);
66 }
67 }