1 /**
2 * @(#)GeneticAlgorithmException.java
3 * Copyright (C) 2008-2011 delhezi.com
4 *
5 * This class is released under the:
6 * GNU Lesser General Public License (LGPL) version 3 or later.
7 * http://www.gnu.org/copyleft/lesser.html
8 */
9 package com.delhezi.ga.exception;
10
11 /**
12 * GeneticAlgorithmEJBException: Klasa wyjątku.
13 * @version 1.0 2009-06-10
14 * @author <a href="mailto:wojciech.wolszczak@delhezi.com">
15 * Wojciech Wolszczak</a>
16 */
17 public class GeneticAlgorithmException extends Exception {
18
19 /**
20 * Serial id for this class.
21 */
22 private static final long serialVersionUID = 5432228727933122229L;
23
24 /**
25 * Construct a message exception.
26 */
27 public GeneticAlgorithmException() {
28 super();
29 }
30
31 /**
32 * Construct a message exception.
33 * @param msg The exception message.
34 */
35 public GeneticAlgorithmException(final String msg) {
36 super(msg);
37 }
38
39 /**
40 * Construct a message exception.
41 * @param msg The exception message.
42 * @param t The other exception.
43 */
44 public GeneticAlgorithmException(final String msg, final Throwable t) {
45 super(msg, t);
46 }
47
48 /**
49 * Construct an exception that holds another exception.
50 * @param t The other exception.
51 */
52 public GeneticAlgorithmException(final Throwable t) {
53 super(t);
54 }
55 }