@MessageBundle(projectCode="SRCFG",
length=5)
public interface ConfigMessages
| Modifier and Type | Field and Description |
|---|---|
static ConfigMessages |
msg |
static final ConfigMessages msg
@Message(id=0,
value="The file %s was not found")
IllegalStateException fileNotFound(String fileName)
@Message(id=1,
value="Failure while loading microprofile-config.properties files")
IllegalStateException failedToLoadConfig(@Cause
Throwable throwable)
@Message(id=2,
value="%s can not be converted to a Character")
IllegalArgumentException failedCharacterConversion(String value)
@Message(id=3,
value="Converter %s must be parameterized with a single type")
IllegalStateException singleTypeConverter(String className)
@Message(id=4,
value="%s is not an array type")
IllegalArgumentException notArrayType(String arrayType)
@Message(id=5,
value="Value does not match pattern %s (value was \"%s\")")
IllegalArgumentException valueNotMatchPattern(Pattern pattern,
String value)
@Message(id=6,
value="Value must not be less than %s (value was \"%s\")")
IllegalArgumentException lessThanMinimumValue(Object minimum,
String value)
@Message(id=7,
value="Value must not be less than or equal to %s (value was \"%s\")")
IllegalArgumentException lessThanEqualToMinimumValue(Object minimum,
String value)
@Message(id=8,
value="Value must not be greater than %s (value was \"%s\")")
IllegalArgumentException greaterThanMaximumValue(Object maximum,
String value)
@Message(id=9,
value="Value must not be greater than or equal to %s (value was \"%s\")")
IllegalArgumentException greaterThanEqualToMaximumValue(Object maximum,
String value)
@Message(id=10,
value="Unknown converter ID: %s")
InvalidObjectException unknownConverterId(int id)
@Message(id=11,
value="Could not expand value %s in property %s")
NoSuchElementException expandingElementNotFound(String key,
String valueName)
@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)
@Message(id=13,
value="No Converter registered for %s")
IllegalArgumentException noRegisteredConverter(Class<?> type)
@Message(id=14,
value="The config property %s is required but it could not be found in any config source")
String propertyNotFound(String name)
@Message(id=15,
value="No configuration is available for this class loader")
IllegalStateException noConfigForClassloader()
@Message(id=16,
value="config cannot be null")
IllegalArgumentException configIsNull()
@Message(id=17,
value="Configuration already registered for the given class loader")
IllegalStateException configAlreadyRegistered()
@Message(id=18,
value="Malformed \\uxxxx encoding")
IllegalArgumentException malformedEncoding()
@Message(id=19,
value="Failed to create new instance from Converter constructor")
IllegalArgumentException constructorConverterFailure(@Cause
Throwable cause)
@Message(id=20,
value="Failed to convert value with static method")
IllegalArgumentException staticMethodConverterFailure(@Cause
Throwable cause)
@Message(id=21,
value="Converter class %s not found")
IllegalArgumentException classConverterNotFound(@Cause
Throwable cause,
String className)
@Message(id=22,
value="Host, %s, not found")
IllegalArgumentException unknownHost(@Cause
Throwable cause,
String host)
@Message(id=23,
value="Array type being converted is unknown")
IllegalArgumentException unknownArrayType()
@Message(id=24,
value="Not allowed to access secret key %s")
SecurityException notAllowed(String name)
@Message(id=25,
value="Recursive expression expansion is too deep for %s")
IllegalArgumentException expressionExpansionTooDepth(String name)
@Message(id=26,
value="%s cannot be converted into a UUID")
IllegalArgumentException malformedUUID(@Cause
Throwable cause,
String malformedUUID)
@Message(id=27,
value="Could not find a mapping for %s")
NoSuchElementException mappingNotFound(String className)
@Message(id=28,
value="Could not find a mapping for %s with prefix %s")
NoSuchElementException mappingPrefixNotFound(String className,
String prefix)
@Message(id=29,
value="Expected an integer value, got \"%s\"")
NumberFormatException integerExpected(String value)
@Message(id=30,
value="Expected a long value, got \"%s\"")
NumberFormatException longExpected(String value)
@Message(id=31,
value="Expected a double value, got \"%s\"")
NumberFormatException doubleExpected(String value)
@Message(id=32,
value="Expected a float value, got \"%s\"")
NumberFormatException floatExpected(String value)
@Message(id=33,
value="Scheme %s not supported")
IllegalArgumentException schemeNotSupported(String scheme)
@Message(id=34,
value="URI Syntax invalid %s")
IllegalArgumentException uriSyntaxInvalid(@Cause
Throwable cause,
String uri)
@Message(id=35,
value="Failed to load resource")
IllegalStateException failedToLoadResource(@Cause
Throwable cause)
@Message(id=36,
value="Type %s not supported for unwrapping.")
IllegalArgumentException getTypeNotSupportedForUnwrapping(Class<?> type)
@Message(id=37,
value="The Converter API cannot convert a null value")
NullPointerException converterNullValue()
@Message(id=38,
value="Type has no raw type class: %s")
IllegalArgumentException noRawType(Type type)
@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)
@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)
@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)
@Message(id=42,
value="Value does not match the expected map format \"<key1>=<value1>;<key2>=<value2>...\" (value was \"%s\")")
NoSuchElementException valueNotMatchMapFormat(String value)
Copyright © 2018–2021. All rights reserved.