KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > fenyo > gnetwatch > AlgorithmException


1
2 /*
3  * GNetWatch
4  * Copyright 2006, 2007 Alexandre Fenyo
5  * gnetwatch@fenyo.net
6  *
7  * This file is part of GNetWatch.
8  *
9  * GNetWatch is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * GNetWatch is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with GNetWatch; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22  */

23
24 package net.fenyo.gnetwatch;
25
26 /**
27  * An exception for errors specific to this software.
28  * @author Alexandre Fenyo
29  * @version $Id: AlgorithmException.java,v 1.5 2007/03/03 00:38:19 fenyo Exp $
30  */

31
32 public class AlgorithmException extends GeneralException {
33   public static final long serialVersionUID = 1L;
34
35   /**
36    * Constructor.
37    * Creates an AlgorithmException instance.
38    * @param none.
39    */

40   public AlgorithmException() {
41    super();
42   }
43
44   /**
45    * Constructor.
46    * Creates an AlgorithmException instance.
47    * @param message message associated with this exception.
48    * @param none.
49    */

50   public AlgorithmException(final String JavaDoc message) {
51     super(message);
52    }
53
54   /**
55    * Constructor.
56    * Creates an AlgorithmException instance.
57    * @param message message associated with this exception.
58    * @param exception exception associated with this exception.
59    */

60   public AlgorithmException(final String JavaDoc message, final Throwable JavaDoc cause) {
61     super(message, cause);
62    }
63
64   /**
65    * Constructor.
66    * Creates an AlgorithmException instance.
67    * @param exception exception associated with this exception.
68    */

69   public AlgorithmException(final Throwable JavaDoc cause) {
70     super(cause);
71    }
72 }
73
Popular Tags