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 |
| protected static MessageFormatter _formatter = new MessageFormatter(StateMessages.class, |
26 |
| "StateStrings"); |
27 |
| |
28 |
2
| static String unknownStateObjectName(String objectName)
|
29 |
| { |
30 |
2
| return _formatter.format("unknown-state-object-name", objectName);
|
31 |
| } |
32 |
| |
33 |
1
| static String unableToInstantiateObject(Class objectClass, Throwable cause)
|
34 |
| { |
35 |
1
| return _formatter.format("unable-to-instantiate-object", objectClass, cause);
|
36 |
| } |
37 |
| |
38 |
2
| static String unableToInstantiateObject(String className, Throwable cause)
|
39 |
| { |
40 |
2
| return _formatter.format("unable-to-instantiate-object", className, cause);
|
41 |
| } |
42 |
| |
43 |
2
| static String unknownScope(String objectName, String scope)
|
44 |
| { |
45 |
2
| return _formatter.format("unknown-scope", objectName, scope);
|
46 |
| } |
47 |
| |
48 |
| } |