Package org.duracloud.common.error
Class ExceptionMessages
java.lang.Object
org.duracloud.common.util.ApplicationConfig
org.duracloud.common.error.ExceptionMessages
This class abstracts the resource file that holds the mapping between
exception keys and there MessageFormat patterns.
- Author:
- Andrew Woods Date: Oct 24, 2009
-
Field Summary
Fields inherited from class org.duracloud.common.util.ApplicationConfig
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic StringgetMessagePattern(String key) static voidsetConfigFileName(String name) Methods inherited from class org.duracloud.common.util.ApplicationConfig
getPropsFromResource, getPropsFromXml, getPropsFromXmlResource, getPropsFromXmlStream, getXmlFromProps
-
Constructor Details
-
ExceptionMessages
public ExceptionMessages()
-
-
Method Details
-
getMessagePattern
- Throws:
Exception
-
setConfigFileName
-
getConfigFileName
-