Package io.smallrye.config._private
Interface ConfigMessages
- All Known Implementing Classes:
ConfigMessages_$bundle
@MessageBundle(projectCode="SRCFG",
length=5)
public interface ConfigMessages
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionambiguousMapping(String path, String amb1, String amb2) cannotConvertEnum(String value, Class<?> enumType, String values) classConverterNotFound(Throwable cause, String className) classIsNotAMapping(Class<?> type) converterException(Throwable converterException, String configProperty, String configValue, String causeMessage) converterReturnedNull(String configPropertyName, String configValue, String converter) couldNotGenerateMapping(Throwable throwable, String mapping) doubleExpected(String value) expandingElementNotFound(String key, String valueName) explicitNameInUnnamed(String name, String key) failedCharacterConversion(String value) failedToLoadConfig(Throwable throwable) failedToLoadResource(Throwable cause, String location) fileNotFound(String fileName) floatExpected(String value) getTypeNotSupportedForUnwrapping(Class<?> type) greaterThanEqualToMaximumValue(Object maximum, String value) greaterThanMaximumValue(Object maximum, String value) integerExpected(String value) lessThanEqualToMinimumValue(Object minimum, String value) lessThanMinimumValue(Object minimum, String value) longExpected(String value) malformedUUID(Throwable cause, String malformedUUID) mappingMethodsCannotBeVoid(String method) mappingNotFound(String className) mappingPrefixNotFound(String className, String prefix) noRegisteredConverter(Class<?> type) notAllowed(String name) notArrayType(String arrayType) propertyDoesNotMapToAnyRoot(String name, String location) propertyEmptyString(String configPropertyName, String converter) propertyNotFound(String name) schemeNotSupported(String scheme) secretKeyHandlerNotFound(String handler) singleTypeConverter(String className) unableToAddConverter(org.eclipse.microprofile.config.spi.Converter<?> converter) unknownConverterId(int id) unknownHost(Throwable cause, String host) uriSyntaxInvalid(Throwable cause, String uri) valueNotMatchMapFormat(String value) valueNotMatchPattern(Pattern pattern, String value)
-
Field Details
-
msg
-
-
Method Details
-
fileNotFound
@Message(id=0, value="The file %s was not found") IllegalStateException fileNotFound(String fileName) -
failedToLoadConfig
@Message(id=1, value="Failure while loading microprofile-config.properties files") IllegalStateException failedToLoadConfig(@Cause Throwable throwable) -
failedCharacterConversion
@Message(id=2, value="%s can not be converted to a Character") IllegalArgumentException failedCharacterConversion(String value) -
singleTypeConverter
@Message(id=3, value="Converter %s must be parameterized with a single type") IllegalStateException singleTypeConverter(String className) -
notArrayType
@Message(id=4, value="%s is not an array type") IllegalArgumentException notArrayType(String arrayType) -
valueNotMatchPattern
@Message(id=5, value="Value does not match pattern %s (value was \"%s\")") IllegalArgumentException valueNotMatchPattern(Pattern pattern, String value) -
lessThanMinimumValue
@Message(id=6, value="Value must not be less than %s (value was \"%s\")") IllegalArgumentException lessThanMinimumValue(Object minimum, String value) -
lessThanEqualToMinimumValue
@Message(id=7, value="Value must not be less than or equal to %s (value was \"%s\")") IllegalArgumentException lessThanEqualToMinimumValue(Object minimum, String value) -
greaterThanMaximumValue
@Message(id=8, value="Value must not be greater than %s (value was \"%s\")") IllegalArgumentException greaterThanMaximumValue(Object maximum, String value) -
greaterThanEqualToMaximumValue
@Message(id=9, value="Value must not be greater than or equal to %s (value was \"%s\")") IllegalArgumentException greaterThanEqualToMaximumValue(Object maximum, String value) -
unknownConverterId
-
expandingElementNotFound
@Message(id=11, value="Could not expand value %s in property %s") NoSuchElementException expandingElementNotFound(String key, String valueName) -
unableToAddConverter
@Message(id=12, value="Can not add converter %s that is not parameterized with a type") IllegalStateException unableToAddConverter(org.eclipse.microprofile.config.spi.Converter<?> converter) -
noRegisteredConverter
@Message(id=13, value="No Converter registered for %s") IllegalArgumentException noRegisteredConverter(Class<?> type) -
propertyNotFound
-
noConfigForClassloader
@Message(id=15, value="No configuration is available for this class loader") IllegalStateException noConfigForClassloader() -
configIsNull
-
configAlreadyRegistered
@Message(id=17, value="Configuration already registered for the given class loader") IllegalStateException configAlreadyRegistered() -
malformedEncoding
-
constructorConverterFailure
@Message(id=19, value="Failed to create new instance from Converter constructor") IllegalArgumentException constructorConverterFailure(@Cause Throwable cause) -
staticMethodConverterFailure
@Message(id=20, value="Failed to convert value with static method") IllegalArgumentException staticMethodConverterFailure(@Cause Throwable cause) -
classConverterNotFound
@Message(id=21, value="Converter class %s not found") IllegalArgumentException classConverterNotFound(@Cause Throwable cause, String className) -
unknownHost
@Message(id=22, value="Host, %s, not found") IllegalArgumentException unknownHost(@Cause Throwable cause, String host) -
unknownArrayType
@Message(id=23, value="Array type being converted is unknown") IllegalArgumentException unknownArrayType() -
notAllowed
@Message(id=24, value="Not allowed to access secret key %s") SecurityException notAllowed(String name) -
expressionExpansionTooDepth
@Message(id=25, value="Recursive expression expansion is too deep for %s") IllegalArgumentException expressionExpansionTooDepth(String name) -
malformedUUID
@Message(id=26, value="%s cannot be converted into a UUID") IllegalArgumentException malformedUUID(@Cause Throwable cause, String malformedUUID) -
mappingNotFound
@Message(id=27, value="Could not find a mapping for %s") NoSuchElementException mappingNotFound(String className) -
mappingPrefixNotFound
@Message(id=28, value="Could not find a mapping for %s with prefix %s") NoSuchElementException mappingPrefixNotFound(String className, String prefix) -
integerExpected
@Message(id=29, value="Expected an integer value, got \"%s\"") NumberFormatException integerExpected(String value) -
longExpected
@Message(id=30, value="Expected a long value, got \"%s\"") NumberFormatException longExpected(String value) -
doubleExpected
@Message(id=31, value="Expected a double value, got \"%s\"") NumberFormatException doubleExpected(String value) -
floatExpected
@Message(id=32, value="Expected a float value, got \"%s\"") NumberFormatException floatExpected(String value) -
schemeNotSupported
@Message(id=33, value="Scheme %s not supported") IllegalArgumentException schemeNotSupported(String scheme) -
uriSyntaxInvalid
@Message(id=34, value="URI Syntax invalid %s") IllegalArgumentException uriSyntaxInvalid(@Cause Throwable cause, String uri) -
failedToLoadResource
@Message(id=35, value="Failed to load resource %s") IllegalArgumentException failedToLoadResource(@Cause Throwable cause, String location) -
getTypeNotSupportedForUnwrapping
@Message(id=36, value="Type %s not supported for unwrapping.") IllegalArgumentException getTypeNotSupportedForUnwrapping(Class<?> type) -
converterNullValue
@Message(id=37, value="The Converter API cannot convert a null value") NullPointerException converterNullValue() -
noRawType
@Message(id=38, value="Type has no raw type class: %s") IllegalArgumentException noRawType(Type type) -
converterException
@Message(id=39, value="The config property %s with the config value \"%s\" threw an Exception whilst being converted %s") IllegalArgumentException converterException(@Cause Throwable converterException, String configProperty, String configValue, String causeMessage) -
propertyEmptyString
@Message(id=40, value="The config property %s is defined as the empty String (\"\") which the following Converter considered to be null: %s") NoSuchElementException propertyEmptyString(String configPropertyName, String converter) -
converterReturnedNull
@Message(id=41, value="The config property %s with the config value \"%s\" was converted to null from the following Converter: %s") NoSuchElementException converterReturnedNull(String configPropertyName, String configValue, String converter) -
valueNotMatchMapFormat
@Message(id=42, value="Value does not match the expected map format \"<key1>=<value1>;<key2>=<value2>...\" (value was \"%s\")") NoSuchElementException valueNotMatchMapFormat(String value) -
mappingAnnotationNotSupportedInClass
@Message(id=43, value="The @ConfigMapping annotation can only be placed in interfaces, %s is a class") IllegalStateException mappingAnnotationNotSupportedInClass(Class<?> type) -
propertiesAnnotationNotSupportedInInterface
@Message(id=44, value="The @ConfigProperties annotation can only be placed in classes, %s is an interface") IllegalStateException propertiesAnnotationNotSupportedInInterface(Class<?> type) -
classIsNotAMapping
@Message(id=45, value="The %s class is not a ConfigMapping") IllegalArgumentException classIsNotAMapping(Class<?> type) -
secretKeyHandlerNotFound
@Message(id=46, value="Could not find a secret key handler for %s") NoSuchElementException secretKeyHandlerNotFound(String handler) -
ambiguousMapping
@Message(id=47, value="The ConfigMapping path %s is ambiguous. It is mapped by %s and %s") IllegalStateException ambiguousMapping(String path, String amb1, String amb2) -
explicitNameInUnnamed
@Message(id=48, value="The config property %s explicitly defined the key %s, but the key is marked as unnamed") IllegalArgumentException explicitNameInUnnamed(String name, String key) -
cannotConvertEnum
@Message(id=49, value="Cannot convert %s to enum %s, allowed values: %s") IllegalArgumentException cannotConvertEnum(String value, Class<?> enumType, String values) -
propertyDoesNotMapToAnyRoot
@Message(id=50, value="%s in %s does not map to any root") IllegalStateException propertyDoesNotMapToAnyRoot(String name, String location) -
couldNotGenerateMapping
@Message(id=51, value="Could not generate ConfigMapping %s") IllegalStateException couldNotGenerateMapping(@Cause Throwable throwable, String mapping) -
mappingMethodsCannotAcceptParameters
@Message(id=52, value="@ConfigMapping methods cannot accept parameters: %s") IllegalArgumentException mappingMethodsCannotAcceptParameters(String method) -
mappingMethodsCannotBeVoid
@Message(id=53, value="@ConfigMapping methods cannot be void: %s") IllegalArgumentException mappingMethodsCannotBeVoid(String method) -
mappingCannotUseSelfReferenceTypes
@Message(id=54, value="@ConfigMapping cannot use self-reference types: %s") IllegalArgumentException mappingCannotUseSelfReferenceTypes(String type) -
defaultValuesConfigSourceNameReserved
@Message(id=55, value="The name %s used for the DefaultValuesConfigSource is reserved") IllegalArgumentException defaultValuesConfigSourceNameReserved(String name)
-