View Javadoc
1 /* 2 Bloof - visualize the evolution of your software project 3 Copyright ( C ) 2003 Lukasz Pekacki <lukasz@pekacki.de> 4 http://bloof.sf.net/ 5 6 This file was part of JavaCVS by Nicholas Allen ( nallen@freenet.co.uk ). 7 8 This program is free software; you can redistribute it and/or modify it 9 under the terms of the GNU General Public License. 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 along with 17 this program; if not, write to the Free Software Foundation, Inc., 18 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 20 $RCSfile: CvsException.java,v $ 21 Created on $Date: 2003/06/28 06:51:42 $ 22 */ 23 24 package net.sf.bloof.scm.cvsplugin; 25 26 /*** 27 * The base class for all exceptions relating to CVS problems. 28 * @author Nicholas Allen 29 * @author Lukasz Pekacki */ 30 public class CvsException extends Exception { 31 32 /*** 33 * Method CVSException. 34 * @param aNestedException nested Exception that should be handled here 35 */ 36 public CvsException(Exception aNestedException) { 37 super("Nested exception is: " + aNestedException.toString()); 38 mNestedException = aNestedException; 39 } 40 /*** 41 * @see java.lang.Throwable#Throwable( String ) 42 */ 43 public CvsException(String aMessage) { 44 super(aMessage); 45 } 46 47 /*** 48 * Method CVSException. 49 * @param aMessage message for the nested exceptions 50 * @param aNestedException nested Exception that should be handled here 51 */ 52 public CvsException(String aMessage, Exception aNestedException) { 53 super(aMessage + "\nNested exception is: " + aNestedException.toString()); 54 mNestedException = aNestedException; 55 } 56 57 /*** 58 * Method getNestedException. 59 * @return Exception 60 */ 61 public Exception getNestedException() { 62 return mNestedException; 63 } 64 private Exception mNestedException; 65 66 }

This page was automatically generated by Maven