public class AmbiguousConfigurationValuesException extends ConfigurationException
ConfigurationException indicating that conflicting ConfigurationValues were found for a given configuration property
request.ConfigurationValue,
Serialized Form| Constructor and Description |
|---|
AmbiguousConfigurationValuesException(String message,
Throwable cause,
Map<? extends String,? extends String> configurationCoordinates,
String name,
Collection<? extends ConfigurationValue> values)
Creates a new
AmbiguousConfigurationValuesException. |
| Modifier and Type | Method and Description |
|---|---|
Map<? extends String,? extends String> |
getCoordinates()
Returns a
Map representing the configuration coordinates
in effect when this AmbiguousConfigurationValuesException
was created. |
String |
getName()
Returns the name of the configuration property for which a value was requested.
|
Collection<? extends ConfigurationValue> |
getValues()
Returns the
Collection of conflicting values that caused
this AmbiguousConfigurationValuesException to be created. |
String |
toString()
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic AmbiguousConfigurationValuesException(String message, Throwable cause, Map<? extends String,? extends String> configurationCoordinates, String name, Collection<? extends ConfigurationValue> values)
AmbiguousConfigurationValuesException.message - the error message; may be nullcause - the Throwable that caused this AmbiguousConfigurationValuesException to be created; may be
nullconfigurationCoordinates - the configuration coordinates in
effect at the time conflicting values were found; may be nullname - the name of the configuration property for which a
value was requested; must not be nullvalues - the conflicting values; may be nullNullPointerException - if name is nullpublic final Collection<? extends ConfigurationValue> getValues()
Collection of conflicting values that caused
this AmbiguousConfigurationValuesException to be created.
This method will never return null.
null Collection of ConfigurationValuespublic final Map<? extends String,? extends String> getCoordinates()
Map representing the configuration coordinates
in effect when this AmbiguousConfigurationValuesException
was created.
This method never returns null.
null Map of configuration
coordinatespublic final String getName()
This method never returns null.
nullpublic String toString()
null String representation of this
AmbiguousConfigurationValuesException.
This method never returns null.
Overrides of this method must not return null.
toString in class Throwablenull String representation of this
AmbiguousConfigurationValuesExceptionCopyright © 2017–2018, microBean. All rights reserved.