Source code: com/yaftp/utils/UtilsError.java
1 /**
2 *
3 * CopyRights Jean-Yves MENGANT 1999,2000,2001,2002
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 */
19
20 package com.yaftp.utils ;
21
22 /**
23
24 when a class inside utils needs to throw an exception
25 this class should be used
26
27 @Author Jean-Yves MENGANT
28 CopyRights Jean-Yves MENGANT 1998,1999,2000
29
30 */
31
32 public class UtilsError extends Exception {
33
34 /**
35 default constructor for UtilsError
36 @param no parameters
37 */
38 public UtilsError (){}
39
40 /**
41 Constructor providing an Explanation message
42 @param msg Exception explanation message
43 */
44 public UtilsError ( String msg )
45 { super(msg) ; }
46
47 }