001    /*
002    This project provide access to non public fields
003    and methods as help for writing tests.
004    Copyright (C) 2007  Christof Lehmann
005    
006    This program is free software; you can redistribute it and/or
007    modify it under the terms of the GNU General Public License
008    as published by the Free Software Foundation; either version 2
009    of the License, or (at your option) any later version.
010    
011    This program is distributed in the hope that it will be useful,
012    but WITHOUT ANY WARRANTY; without even the implied warranty of
013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014    GNU General Public License for more details.
015    
016    You should have received a copy of the GNU General Public License
017    along with this program; if not, write to the Free Software
018    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
019     */
020    package net.sf.testextensions;
021    
022    /**
023     * This exception shows a error during accessing non
024     * public fields or methods.
025     * @author forge-cl
026     *
027     */
028    public class TestExtensionException extends Exception {
029    
030            /**
031             * The constructor simple calls the super constructor.
032             * @param msg the message for the exception.
033             */
034            public TestExtensionException(final String msg) {
035                    super(msg);
036            }
037    
038            /**
039             * The constructor simple calls the super constructor.
040             * @param e the source exception.
041             */
042            public TestExtensionException(final Exception e) {
043                    super(e);
044            }
045    
046            /**
047             *
048             */
049            private static final long serialVersionUID = 1L;
050    
051    }