01: // Copyright (c) 2003-2007, Jodd Team (jodd.sf.net). All Rights Reserved.
02:
03: package jodd.bean;
04:
05: import jodd.util.UncheckedException;
06:
07: /**
08: * Unchecked bean exception.
09: */
10: public class BeanException extends UncheckedException {
11:
12: public BeanException(Throwable t) {
13: super (t);
14: }
15:
16: public BeanException() {
17: super ();
18: }
19:
20: public BeanException(String message) {
21: super (message);
22: }
23:
24: public BeanException(String message, BeanProperty bp) {
25: super (message + " Invalid property: " + bp);
26: }
27:
28: public BeanException(String message, Throwable t) {
29: super (message, t);
30: }
31:
32: public BeanException(String message, BeanProperty bp, Throwable t) {
33: super (message + " Invalid property: " + bp, t);
34: }
35:
36: }
|