Interface SmallRyeMetricsMessages

    • Method Detail

      • noMetricFoundInRegistry

        @Message(id=2,
                 value="No metric with ID %s found in registry")
        IllegalStateException noMetricFoundInRegistry​(org.eclipse.microprofile.metrics.MetricID metricID)
      • noMetricMappedForMember

        @Message(id=3,
                 value="No metric mapped for %s")
        IllegalStateException noMetricMappedForMember​(Member member)
      • unableToRetrieveParameterName

        @Message(id=4,
                 value="Unable to retrieve name for parameter %s")
        UnsupportedOperationException unableToRetrieveParameterName​(jakarta.enterprise.inject.spi.AnnotatedParameter<?> parameter)
      • unableToRetrieveMetricNameForInjectionPoint

        @Message(id=5,
                 value="Unable to retrieve metric name for injection point %s")
        UnsupportedOperationException unableToRetrieveMetricNameForInjectionPoint​(jakarta.enterprise.inject.spi.InjectionPoint ip)
      • mustNotBeCalled

        @Message(id=8,
                 value="Method must not be called")
        IllegalStateException mustNotBeCalled()
      • gaugeWithIdAlreadyExists

        @Message(id=9,
                 value="Gauge with id %s already exists")
        IllegalArgumentException gaugeWithIdAlreadyExists​(org.eclipse.microprofile.metrics.MetricID metricID)
      • metricNameMustNotBeNullOrEmpty

        @Message(id=10,
                 value="Metric name must not be null or empty")
        IllegalArgumentException metricNameMustNotBeNullOrEmpty()
      • metricExistsUnderDifferentType

        @Message(id=11,
                 value="Metric %s already exists under a different type (%s)")
        IllegalStateException metricExistsUnderDifferentType​(String name,
                                                             String existingType)
      • unitDiffersFromPreviousUsage

        @Message(id=12,
                 value="Unit is different from the unit in previous usage (%s)")
        IllegalStateException unitDiffersFromPreviousUsage​(String existingUnit)
      • descriptionDiffersFromPreviousUsage

        @Message(id=13,
                 value="Description is different from the description in previous usage")
        IllegalStateException descriptionDiffersFromPreviousUsage()
      • displayNameDiffersFromPreviousUsage

        @Message(id=14,
                 value="Display name is different from the display name in previous usage")
        IllegalStateException displayNameDiffersFromPreviousUsage()
      • metricWithNameAlreadyExists

        @Message(id=15,
                 value="A metric with name %s already exists")
        IllegalStateException metricWithNameAlreadyExists​(String name)
      • unableToInferMetricType

        @Message(id=16,
                 value="Unable to infer a metric type")
        IllegalStateException unableToInferMetricType()
      • unknownMetricAnnotationType

        @Message(id=19,
                 value="Unknown metric annotation type %s")
        IllegalArgumentException unknownMetricAnnotationType​(Class<?> annotationType)