Interface ConfigMessages

  • All Known Implementing Classes:
    ConfigMessages_$bundle

    @MessageBundle(projectCode="SRCFG",
                   length=5)
    public interface ConfigMessages
    • Method Detail

      • 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)
      • 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

        @Message(id=10,
                 value="Unknown converter ID: %s")
        InvalidObjectException unknownConverterId​(int id)
      • 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

        @Message(id=14,
                 value="The config property %s is required but it could not be found in any config source")
        String propertyNotFound​(String name)
      • noConfigForClassloader

        @Message(id=15,
                 value="No configuration is available for this class loader")
        IllegalStateException noConfigForClassloader()
      • configAlreadyRegistered

        @Message(id=17,
                 value="Configuration already registered for the given class loader")
        IllegalStateException configAlreadyRegistered()
      • 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)
      • 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)
      • 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)
      • 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()
      • 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)