01: package org.vraptor.view;
02:
03: import org.vraptor.VRaptorException;
04:
05: /**
06: * Some exception occurred in your view. Grab the cause by calling the getCause
07: * method
08: *
09: * @author Guilherme Silveira
10: */
11: public class ViewException extends VRaptorException {
12:
13: /**
14: *
15: */
16: private static final long serialVersionUID = -2382459955911470297L;
17:
18: /**
19: *
20: */
21: public ViewException() {
22: super ();
23: }
24:
25: /**
26: * @param message
27: * @param cause
28: */
29: public ViewException(String message, Throwable cause) {
30: super (message, cause);
31: }
32:
33: /**
34: * @param message
35: */
36: public ViewException(String message) {
37: super (message);
38: }
39:
40: /**
41: * @param cause
42: */
43: public ViewException(Throwable cause) {
44: super(cause);
45: }
46:
47: }
|