public final class InvalidConfigurationException extends GatewayApplicationException
GatewayApplication to indicate that the
 configuration parameters that have been passed to it are invalid.| Constructor and Description | 
|---|
InvalidConfigurationException(String message)
Constructor for a general purpose message. 
 | 
InvalidConfigurationException(String serviceName,
                             Map<String,String> errors)
Constructor for multiple errors. 
 | 
InvalidConfigurationException(String message,
                             Throwable cause)
Constructor for a general purpose message and specific throwable. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Map<String,String> | 
getErrors()
Returns the map of errors. 
 | 
String | 
getMessage()  | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidConfigurationException(String message)
message - the messagepublic InvalidConfigurationException(String message, Throwable cause)
message - the messagecause - cause for the exceptionpublic InvalidConfigurationException(String serviceName, Map<String,String> errors)
serviceName - the service name to use to append in the messageerrors - a map of key/message pairs, where the key identifies
                    the configuration item in error and the message
                    describes the errorCopyright © 2024 DiffusionData Limited. All rights reserved.