1 |
| |
2 |
| |
3 |
| |
4 |
| |
5 |
| |
6 |
| |
7 |
| |
8 |
| |
9 |
| |
10 |
| |
11 |
| |
12 |
| |
13 |
| |
14 |
| |
15 |
| package org.apache.tapestry.engine.state; |
16 |
| |
17 |
| import org.apache.hivemind.impl.MessageFormatter; |
18 |
| |
19 |
| |
20 |
| |
21 |
| |
22 |
| |
23 |
| class StateMessages |
24 |
| { |
25 |
| private final static MessageFormatter _formatter = new MessageFormatter(StateMessages.class); |
26 |
| |
27 |
4
| static String unknownStateObjectName(String objectName)
|
28 |
| { |
29 |
4
| return _formatter.format("unknown-state-object-name", objectName);
|
30 |
| } |
31 |
| |
32 |
2
| static String unableToInstantiateObject(Class objectClass, Throwable cause)
|
33 |
| { |
34 |
2
| return _formatter.format("unable-to-instantiate-object", objectClass, cause);
|
35 |
| } |
36 |
| |
37 |
4
| static String unableToInstantiateObject(String className, Throwable cause)
|
38 |
| { |
39 |
4
| return _formatter.format("unable-to-instantiate-object", className, cause);
|
40 |
| } |
41 |
| |
42 |
4
| static String unknownScope(String objectName, String scope)
|
43 |
| { |
44 |
4
| return _formatter.format("unknown-scope", objectName, scope);
|
45 |
| } |
46 |
| |
47 |
| } |