1 15 package org.apache.tapestry.error; 16 17 import org.apache.hivemind.impl.MessageFormatter; 18 19 23 public class ErrorMessages 24 { 25 protected static MessageFormatter _formatter = new MessageFormatter(ErrorMessages.class, 26 "ErrorStrings"); 27 28 public static String unableToProcessClientRequest(Throwable cause) 29 { 30 return _formatter.format("unable-to-process-client-request", cause); 31 } 32 33 static String unableToPresentExceptionPage(Throwable cause) 34 { 35 return _formatter.format("unable-to-present-exception-page", cause); 36 } 37 } | Popular Tags |