|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.spatial.util.ImplementationMessages
public class ImplementationMessages
ImplementationMessages provides internal error messages for the Spatial API.
| Field Summary | |
|---|---|
static int |
MSG_BAD_CODE
Error codes. |
static int |
MSG_BAD_ERROR_TYPE
Error codes. |
static int |
MSG_BAD_RUNTIME_ERROR
Error codes. |
static int |
MSG_FATAL_ERROR
Error codes. |
static int |
MSG_FORMAT_ERROR
Error codes. |
static int |
MSG_MAX_CODE
Error codes. |
| Constructor Summary | |
|---|---|
ImplementationMessages()
|
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale()
Gets the locale used for error messages. |
java.lang.String |
getMessage(int code,
java.lang.Object[] args)
Creates a message from the specified code and replacement arguments, localized to the current locale. |
java.lang.String |
getMessage(int code,
java.lang.Object[] args,
java.util.Locale locale)
Creates a message from the specified code and replacement arguments, localized to the given locale. |
void |
setLocale(java.util.Locale locale)
Sets the locale used for error messages. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int MSG_BAD_CODE
public static final int MSG_FORMAT_ERROR
public static final int MSG_FATAL_ERROR
public static final int MSG_BAD_ERROR_TYPE
public static final int MSG_BAD_RUNTIME_ERROR
public static final int MSG_MAX_CODE
| Constructor Detail |
|---|
public ImplementationMessages()
| Method Detail |
|---|
public void setLocale(java.util.Locale locale)
setLocale in interface MessageProviderlocale - The new locale.public java.util.Locale getLocale()
getLocale in interface MessageProvider
public java.lang.String getMessage(int code,
java.lang.Object[] args,
java.util.Locale locale)
getMessage in interface MessageProviderlocale - The requested locale of the message to be
created.code - The key for the message text.args - The arguments to be used as replacement text
in the message created.
public java.lang.String getMessage(int code,
java.lang.Object[] args)
getMessage in interface MessageProvidercode - The key for the message text.args - The arguments to be used as replacement text
in the message created.
|
Spatial DataBlade JAVA API v8.21 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||