1 package com.sourceforge.jpatterns.core;
2
3 /**
4 * This exception represents all the scope of the exceptions related to the JPatterns framework.
5 * <br/>
6 * Note: comments to the first version:
7 * It extends the Exception but not the RuntimeException to highlight the importance of the application errors related to the
8 * configurations - it says the users of the JPatterns configure smth. wrong- it is really serious problem from our point of view.
9 * <br/>
10 * Note: up to dated comments:
11 * It was decided to make this exception extending the not chekable RuntimeException not to letter the signatures of the JPatterns and
12 * the signatures of the consumers of JPatterns.
13 *
14 * todo [zmicer]: think over the correct usage of this Exception at the JPatterns sources.
15 *
16 * $Author:: zmicer $<br/>
17 * $Rev:: 57 $<br/> * $Date:: 2007-08-23 09:16:37 #$<br/>
18 */
19 public class JPException extends RuntimeException
20 {
21 /**
22 * The default public constructor
23 */
24 public JPException()
25 {
26 super();
27 }
28
29 /**
30 * One of the public constructor
31 *
32 * @param message the message param
33 */
34 public JPException(String message)
35 {
36 super(message);
37 }
38
39 /**
40 * One of the public constructors
41 *
42 * @param message message param
43 * @param cause param
44 */
45 public JPException(String message, Throwable cause)
46 {
47 super(message, cause);
48 }
49
50 /**
51 * One of the forms of the public construtor
52 *
53 * @param cause the throwable param
54 */
55 public JPException(Throwable cause)
56 {
57 super(cause);
58 }
59 }