1 /* 2 This project provide access to non public fields 3 and methods as help for writing tests. 4 Copyright (C) 2007 Christof Lehmann 5 6 This program is free software; you can redistribute it and/or 7 modify it under the terms of the GNU General Public License 8 as published by the Free Software Foundation; either version 2 9 of the License, or (at your option) any later version. 10 11 This program 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 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 19 */ 20 package net.sf.testextensions; 21 22 /** 23 * This exception shows a error during accessing non 24 * public fields or methods. 25 * @author forge-cl 26 * 27 */ 28 public class TestExtensionException extends Exception { 29 30 /** 31 * The constructor simple calls the super constructor. 32 * @param msg the message for the exception. 33 */ 34 public TestExtensionException(final String msg) { 35 super(msg); 36 } 37 38 /** 39 * The constructor simple calls the super constructor. 40 * @param e the source exception. 41 */ 42 public TestExtensionException(final Exception e) { 43 super(e); 44 } 45 46 /** 47 * 48 */ 49 private static final long serialVersionUID = 1L; 50 51 }