1 15 package org.apache.tapestry.engine.state; 16 17 import org.apache.hivemind.impl.MessageFormatter; 18 19 23 class StateMessages 24 { 25 protected static MessageFormatter _formatter = new MessageFormatter(StateMessages.class, 26 "StateStrings"); 27 28 static String unknownStateObjectName(String objectName) 29 { 30 return _formatter.format("unknown-state-object-name", objectName); 31 } 32 33 static String unableToInstantiateObject(Class objectClass, Throwable cause) 34 { 35 return _formatter.format("unable-to-instantiate-object", objectClass, cause); 36 } 37 38 static String unableToInstantiateObject(String className, Throwable cause) 39 { 40 return _formatter.format("unable-to-instantiate-object", className, cause); 41 } 42 43 static String unknownScope(String objectName, String scope) 44 { 45 return _formatter.format("unknown-scope", objectName, scope); 46 } 47 48 } | Popular Tags |