public class ConfiguratorException extends RuntimeException implements L10NMessage
Constructor and Description |
---|
ConfiguratorException(String message) |
ConfiguratorException(String errorCode,
Object[] args,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Use this method to chain this exception with another to get localized
error messge use getL10NMessage method
|
String |
getL10NMessage(Locale locale)
Use this method to get localized error message directly.
|
String |
getMessage()
Use this method to get error message in default ENGLISH locale.
|
Object[] |
getMessageArgs()
Use this method to chain this exception with another to get localized
error messge use getL10NMessage method
|
String |
getResourceBundleName()
Use this method to chain this exception with another to get localized
error messge use getL10NMessage method
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConfiguratorException(String message)
public String getResourceBundleName()
L10NMessage
getResourceBundleName
in interface L10NMessage
public String getErrorCode()
L10NMessage
getErrorCode
in interface L10NMessage
public Object[] getMessageArgs()
L10NMessage
getMessageArgs
in interface L10NMessage
public String getMessage()
L10NMessage
getMessage
in interface L10NMessage
getMessage
in class Throwable
public String getL10NMessage(Locale locale)
L10NMessage
getL10NMessage
in interface L10NMessage
locale
- Locale of the error message.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.