1 /* Copyright (c) 2008 Sascha Kohlmann 2 * 3 * This program is free software: you can redistribute it and/or modify 4 * it under the terms of the GNU Affero General Public License as published by 5 * the Free Software Foundation, either version 3 of the License, or 6 * (at your option) any later version. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU Affero General Public License for more details. 12 * 13 * You should have received a copy of the GNU Affero General Public License 14 * along with this program. If not, see <http://www.gnu.org/licenses/>. 15 */ 16 package net.sf.eos; 17 18 /** 19 * Base exception of εοs-toolkit. 20 * @author Sascha Kohlmann 21 */ 22 public class EosException extends Exception { 23 24 private static final long serialVersionUID = -6375053702157616197L; 25 26 /** Creates a new instance. */ 27 public EosException() { 28 super(); 29 } 30 31 /** Creates a new instance. 32 * @param message a message. */ 33 public EosException(final String message) { 34 super(message); 35 } 36 37 /** Creates a new instance. 38 * @param cause a cause exception. */ 39 public EosException(final Throwable cause) { 40 super(cause); 41 } 42 43 /** Creates a new instance. 44 * @param cause a cause exception. 45 * @param message a message. */ 46 public EosException(final String message, final Throwable cause) { 47 super(message, cause); 48 } 49 }