1 /* 2 * JaspertReports JSF Plugin Copyright (C) 2011 A. Alonso Dominguez 3 * 4 * This library is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU Lesser General Public License as published by 6 * the Free Software Foundation; either version 2.1 of the License, or (at 7 * your option) any later version. This library is distributed in the hope 8 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 9 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 * 11 * See the GNU Lesser General Public License for more details. You should have 12 * received a copy of the GNU Lesser General Public License along with this 13 * library; if not, write to the Free Software Foundation, Inc., 59 Temple 14 * Place, Suite 330, Boston, MA 02111-1307 USA A. 15 * 16 * Alonso Dominguez 17 * alonsoft@users.sf.net 18 */ 19 package net.sf.jasperreports.jsf.config; 20 21 import net.sf.jasperreports.jsf.JRFacesException; 22 23 /** 24 * Exception wrapper which communicates any error happened 25 * when parsing the application configuration files. 26 * 27 * @author A. Alonso Dominguez 28 */ 29 public class ConfigurationException extends JRFacesException { 30 31 /** 32 * 33 */ 34 private static final long serialVersionUID = -6436187355445724783L; 35 36 /** 37 * Default constructor. 38 */ 39 public ConfigurationException() { 40 super(); 41 } 42 43 /** 44 * Consructor with a message and a cause. 45 * 46 * @param msg the message. 47 * @param t the cause. 48 */ 49 public ConfigurationException(final String msg, final Throwable t) { 50 super(msg, t); 51 } 52 53 /** 54 * Constructor with a message. 55 * 56 * @param msg the message. 57 */ 58 public ConfigurationException(final String msg) { 59 super(msg); 60 } 61 62 /** 63 * Constructor with a cause. 64 * 65 * @param t the cause. 66 */ 67 public ConfigurationException(final Throwable t) { 68 super(t); 69 } 70 }