Class ExceptionMessages

java.lang.Object
org.duracloud.common.util.ApplicationConfig
org.duracloud.common.error.ExceptionMessages

public class ExceptionMessages extends ApplicationConfig
This class abstracts the resource file that holds the mapping between exception keys and there MessageFormat patterns.
Author:
Andrew Woods Date: Oct 24, 2009
  • Constructor Details

    • ExceptionMessages

      public ExceptionMessages()
  • Method Details

    • getMessagePattern

      public static String getMessagePattern(String key) throws Exception
      Throws:
      Exception
    • setConfigFileName

      public static void setConfigFileName(String name)
    • getConfigFileName

      public static String getConfigFileName()