01: /*
02: * GNetWatch
03: * Copyright 2006, 2007 Alexandre Fenyo
04: * gnetwatch@fenyo.net
05: *
06: * This file is part of GNetWatch.
07: *
08: * GNetWatch is free software; you can redistribute it and/or modify
09: * it under the terms of the GNU General Public License as published by
10: * the Free Software Foundation; either version 2 of the License, or
11: * (at your option) any later version.
12: *
13: * GNetWatch is distributed in the hope that it will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16: * GNU General Public License for more details.
17: *
18: * You should have received a copy of the GNU General Public License
19: * along with GNetWatch; if not, write to the Free Software
20: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21: */
22:
23: package net.fenyo.gnetwatch;
24:
25: /**
26: * An exception for errors specific to this software.
27: * @author Alexandre Fenyo
28: * @version $Id: AlgorithmException.java,v 1.5 2007/03/03 00:38:19 fenyo Exp $
29: */
30:
31: public class AlgorithmException extends GeneralException {
32: public static final long serialVersionUID = 1L;
33:
34: /**
35: * Constructor.
36: * Creates an AlgorithmException instance.
37: * @param none.
38: */
39: public AlgorithmException() {
40: super ();
41: }
42:
43: /**
44: * Constructor.
45: * Creates an AlgorithmException instance.
46: * @param message message associated with this exception.
47: * @param none.
48: */
49: public AlgorithmException(final String message) {
50: super (message);
51: }
52:
53: /**
54: * Constructor.
55: * Creates an AlgorithmException instance.
56: * @param message message associated with this exception.
57: * @param exception exception associated with this exception.
58: */
59: public AlgorithmException(final String message,
60: final Throwable 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 cause) {
70: super(cause);
71: }
72: }
|