public interface LocalizableException
extends com.wm.util.SpecifiedLocale
All exceptions should contain three properties so that the error message can be localized into ANY locale.
<table border="1">
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERRORARGS_KEY
Property name for the "error message arguments".
|
static java.lang.String |
ERRORCODE_KEY
Property name for the "error code";
|
static java.lang.String |
ERRORRESOURCEBUNDLE_KEY
Property name for the "error resource bundle"
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorKey()
Get the error message key code
|
java.lang.String[] |
getErrorMessageArgs()
Get the list of string arguments needed to construct the error message.
|
java.lang.String |
getResourceBundleName()
Get the resource bundle name containing the error message.
|
static final java.lang.String ERRORARGS_KEY
static final java.lang.String ERRORCODE_KEY
static final java.lang.String ERRORRESOURCEBUNDLE_KEY
java.lang.String getErrorKey()
java.lang.String[] getErrorMessageArgs()
java.lang.String getResourceBundleName()
Copyright © 2003 - 2021 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.