1 /* 2 * File: DatabaseException.java 3 * Created: 22.10.2006 17:11:19 4 * 5 * Copyright 2006 Michal Burda. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 */ 21 22 package net.sf.webmancer.db; 23 24 import net.sf.webmancer.base.WebmancerException; 25 26 /** 27 * @author Michal Burda 28 */ 29 public class DatabaseException extends WebmancerException { 30 /** 31 * 32 */ 33 private static final long serialVersionUID = -7652531381440375618L; 34 35 /** 36 * 37 */ 38 public DatabaseException() { 39 super(); 40 } 41 42 /** 43 * @param message 44 */ 45 public DatabaseException(final String message) { 46 super(message); 47 } 48 49 /** 50 * @param cause 51 */ 52 public DatabaseException(final Throwable cause) { 53 super(cause); 54 } 55 56 /** 57 * @param message 58 * @param cause 59 */ 60 public DatabaseException(final String message, final Throwable cause) { 61 super(message, cause); 62 } 63 64 }