public interface I18nExceptionI
Modifier and Type | Method and Description |
---|---|
Object[] |
getArguments() |
Throwable |
getCause() |
String |
getLocalizedMessage() |
default String |
getLocalizedMessage(Locale aLocale)
Gets the localized detail message for this exception using the specified
Locale . |
String |
getMessage()
Due to the fact that superclass definitions override any
default methods, these next must be in the class definitions
as they override other supertype methods.
|
String |
getMessageKey() |
String |
getResourceBundleName() |
default boolean |
hasMessageKey(String messageKey)
Checks if this exception, or any of its root causes, has a particular UIMA
message key.
|
String getResourceBundleName()
String getMessageKey()
Object[] getArguments()
Throwable getCause()
String getMessage()
String getLocalizedMessage()
default String getLocalizedMessage(Locale aLocale)
Locale
.aLocale
- the locale to use for localizing the messageLocale
.default boolean hasMessageKey(String messageKey)
messageKey
- to search for in the exception chainCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.