1 /* 2 * Copyright 2006-2023 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 * https://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 errors. 20 * 21 * @author Jeff Butler 22 */ 23 public class ShellException extends Exception { 24 25 /** The Constant serialVersionUID. */ 26 static final long serialVersionUID = -2026841561754434544L; 27 28 /** 29 * Instantiates a new shell exception. 30 */ 31 public ShellException() { 32 super(); 33 } 34 35 /** 36 * Instantiates a new shell exception. 37 * 38 * @param arg0 39 * the arg0 40 */ 41 public ShellException(String arg0) { 42 super(arg0); 43 } 44 45 /** 46 * Instantiates a new shell exception. 47 * 48 * @param arg0 49 * the arg0 50 * @param arg1 51 * the arg1 52 */ 53 public ShellException(String arg0, Throwable arg1) { 54 super(arg0, arg1); 55 } 56 57 /** 58 * Instantiates a new shell exception. 59 * 60 * @param arg0 61 * the arg0 62 */ 63 public ShellException(Throwable arg0) { 64 super(arg0); 65 } 66 }