1 |
| |
2 |
| |
3 |
| |
4 |
| |
5 |
| |
6 |
| |
7 |
| |
8 |
| |
9 |
| |
10 |
| |
11 |
| |
12 |
| |
13 |
| |
14 |
| |
15 |
| package org.apache.tapestry.util.exception; |
16 |
| |
17 |
| import java.io.Serializable; |
18 |
| |
19 |
| |
20 |
| |
21 |
| |
22 |
| |
23 |
| |
24 |
| |
25 |
| |
26 |
| |
27 |
| |
28 |
| |
29 |
| |
30 |
| public class ExceptionDescription implements Serializable |
31 |
| { |
32 |
| |
33 |
| |
34 |
| |
35 |
| |
36 |
| |
37 |
| private static final long serialVersionUID = -4874930784340781514L; |
38 |
| |
39 |
| private String exceptionClassName; |
40 |
| private String message; |
41 |
| private ExceptionProperty[] properties; |
42 |
| private String[] stackTrace; |
43 |
| |
44 |
32
| public ExceptionDescription(
|
45 |
| String exceptionClassName, |
46 |
| String message, |
47 |
| ExceptionProperty[] properties, |
48 |
| String[] stackTrace) |
49 |
| { |
50 |
32
| this.exceptionClassName = exceptionClassName;
|
51 |
32
| this.message = message;
|
52 |
32
| this.properties = properties;
|
53 |
32
| this.stackTrace = stackTrace;
|
54 |
| } |
55 |
| |
56 |
32
| public String getExceptionClassName()
|
57 |
| { |
58 |
32
| return exceptionClassName;
|
59 |
| } |
60 |
| |
61 |
35
| public String getMessage()
|
62 |
| { |
63 |
35
| return message;
|
64 |
| } |
65 |
| |
66 |
32
| public ExceptionProperty[] getProperties()
|
67 |
| { |
68 |
32
| return properties;
|
69 |
| } |
70 |
| |
71 |
22
| public String[] getStackTrace()
|
72 |
| { |
73 |
22
| return stackTrace;
|
74 |
| } |
75 |
| } |