1 |
| |
2 |
| |
3 |
| |
4 |
| |
5 |
| |
6 |
| |
7 |
| |
8 |
| |
9 |
| |
10 |
| |
11 |
| |
12 |
| |
13 |
| |
14 |
| |
15 |
| package org.apache.tapestry.portlet; |
16 |
| |
17 |
| import org.apache.hivemind.impl.MessageFormatter; |
18 |
| |
19 |
| |
20 |
| |
21 |
| |
22 |
| |
23 |
| class PortletMessages |
24 |
| { |
25 |
| private final static MessageFormatter _formatter = new MessageFormatter(PortletMessages.class); |
26 |
| |
27 |
22
| static String unsupportedMethod(String methodName)
|
28 |
| { |
29 |
22
| return _formatter.format("unsupported-method", methodName);
|
30 |
| } |
31 |
| |
32 |
2
| static String errorGettingResource(String path, Throwable cause)
|
33 |
| { |
34 |
2
| return _formatter.format("error-getting-resource", path, cause);
|
35 |
| } |
36 |
| |
37 |
0
| static String errorProcessingAction(Throwable cause)
|
38 |
| { |
39 |
0
| return _formatter.format("error-processing-action", cause);
|
40 |
| } |
41 |
| |
42 |
0
| static String errorProcessingRender(Throwable cause)
|
43 |
| { |
44 |
0
| return _formatter.format("error-processing-render", cause);
|
45 |
| } |
46 |
| |
47 |
0
| static String errorReportingException(Throwable cause)
|
48 |
| { |
49 |
0
| return _formatter.format("error-reporting-exception", cause);
|
50 |
| } |
51 |
| |
52 |
0
| static String staleSession()
|
53 |
| { |
54 |
0
| return _formatter.getMessage("stale-session");
|
55 |
| } |
56 |
| } |