01: package simpleorm.simplewebapp.core;
02:
03: /**
04: * Used to wrap checked exceptions.
05: * Note that this is used to indicate real Program Bugs,
06: * use WValidationException for user errors.
07: */
08: public class WException extends RuntimeException {
09: public WException(Throwable ex) {
10: super (ex);
11: }
12:
13: public WException(String msg, Throwable ex) {
14: super (msg, ex);
15: }
16:
17: public WException(String msg) {
18: super(msg);
19: }
20: }
|