1 package org.wcb.exception; 2 3 /** 4 * <small> 5 * Copyright (c) 2006 wbogaardt. 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the Free Software 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * <p/> 20 * $File: $ <br> 21 * $Change: $ submitted by $Author: wbogaardt $ at $DateTime: Jan 26, 2006 10:38:53 AM $ <br> 22 * </small> 23 * 24 * @author wbogaardt 25 * @version 1 26 * Date: Jan 26, 2006 27 * Time: 10:38:53 AM 28 */ 29 30 public class DAOException extends Exception { 31 32 /** 33 * Constructor for DAOException. 34 */ 35 public DAOException() { 36 super(); 37 } 38 39 /** 40 * Constructor for DAOException. 41 * 42 * @param message the message 43 */ 44 public DAOException(String message) { 45 super(message); 46 } 47 48 /** 49 * Constructor for DAOException. 50 * 51 * @param message the message 52 * @param cause the cause 53 */ 54 public DAOException(String message, Throwable cause) { 55 super(message, cause); 56 } 57 58 /** 59 * Constructor for DAOException. 60 * 61 * @param cause the root cause 62 */ 63 public DAOException(Throwable cause) { 64 super(cause); 65 } 66 }