1 /* 2 * #%L 3 * Coser :: Web 4 * %% 5 * Copyright (C) 2010 Ifremer, Codelutin, Chatellier Eric, Chemit Tony 6 * %% 7 * This program is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU Affero General Public License as published by 9 * the Free Software Foundation, either version 3 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 Affero General Public License 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. 19 * #L% 20 */ 21 22 package fr.ifremer.coser.web; 23 24 import fr.ifremer.coser.CoserTechnicalException; 25 26 /** 27 * Coser web runtime exception. 28 * 29 * @author chatellier 30 * @version $Revision$ 31 * 32 * Last update : $Date$ 33 * By : $Author$ 34 */ 35 public class CoserWebException extends CoserTechnicalException { 36 37 /** serialVersionUID. */ 38 private static final long serialVersionUID = -1002725698959514244L; 39 40 /** 41 * Constructs a new exception with the specified detail message. 42 * 43 * @param message the detail message 44 */ 45 public CoserWebException(String message) { 46 super(message); 47 } 48 49 /** 50 * Constructs a new exception with the specified detail message and cause. 51 * 52 * @param message the detail message 53 * @param cause the cause 54 */ 55 public CoserWebException(String message, Throwable cause) { 56 super(message, cause); 57 } 58 59 }