1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.portals.bridges.struts;
17
18 import java.io.Serializable;
19
20 /***
21 * StrutsPortletErrorContext
22 *
23 * @author <a href="mailto:ate@douma.nu">Ate Douma</a>
24 * @version $Id: StrutsPortletErrorContext.java 187139 2004-07-30 00:16:41 +0200 (Fri, 30 Jul 2004) ate $
25 */
26 public class StrutsPortletErrorContext implements Serializable
27 {
28 private int errorCode;
29 private String errorMessage;
30 private Exception error;
31 public Exception getError()
32 {
33 return error;
34 }
35 public void setError(Exception error)
36 {
37 this.error = error;
38 }
39 public int getErrorCode()
40 {
41 return errorCode;
42 }
43 public void setErrorCode(int errorCode)
44 {
45 this.errorCode = errorCode;
46 }
47 public String getErrorMessage()
48 {
49 return errorMessage;
50 }
51 public void setErrorMessage(String errorMessage)
52 {
53 this.errorMessage = errorMessage;
54 }
55 }