Package com.microstrategy.utils
Class MSTRMessage
- java.lang.Object
-
- com.microstrategy.utils.MSTRMessage
-
- All Implemented Interfaces:
LocalizableMessage
public class MSTRMessage extends java.lang.Object implements LocalizableMessage
- Since:
- MicroStrategy Web 8.0.0
-
-
Constructor Summary
Constructors Constructor Description MSTRMessage(int _code, java.lang.Object[] _params, java.util.Locale _defaultLocale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Locale
getDefaultLocale()
int
getErrorCode()
java.lang.String
getMessage()
java.lang.String
getMessage(java.util.Locale locale)
void
setDefaultLocale(java.util.Locale locale)
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
- Specified by:
getMessage
in interfaceLocalizableMessage
-
getMessage
public java.lang.String getMessage(java.util.Locale locale)
- Specified by:
getMessage
in interfaceLocalizableMessage
-
getErrorCode
public int getErrorCode()
- Specified by:
getErrorCode
in interfaceLocalizableMessage
-
getDefaultLocale
public java.util.Locale getDefaultLocale()
- Specified by:
getDefaultLocale
in interfaceLocalizableMessage
-
setDefaultLocale
public void setDefaultLocale(java.util.Locale locale)
- Specified by:
setDefaultLocale
in interfaceLocalizableMessage
-
-