@MessageBundle(projectCode="SRMET",
length=5)
public interface SmallRyeMetricsMessages
| Modifier and Type | Field and Description |
|---|---|
static SmallRyeMetricsMessages |
msg |
static final SmallRyeMetricsMessages msg
@Message(id=0,
value="Unknown metric type")
IllegalArgumentException unknownMetricType()
@Message(id=2,
value="No metric of type %s and ID %s found in registry")
IllegalStateException noMetricFoundInRegistry(org.eclipse.microprofile.metrics.MetricType metricType,
org.eclipse.microprofile.metrics.MetricID metricID)
@Message(id=3,
value="No metric mapped for %s")
IllegalStateException noMetricMappedForMember(Member member)
@Message(id=4,
value="Unable to retrieve name for parameter %s")
UnsupportedOperationException unableToRetrieveParameterName(javax.enterprise.inject.spi.AnnotatedParameter<?> parameter)
@Message(id=5,
value="Unable to retrieve metric name for injection point %s")
UnsupportedOperationException unableToRetrieveMetricNameForInjectionPoint(javax.enterprise.inject.spi.InjectionPoint ip)
@Message(id=6,
value="No metric is present")
IllegalStateException noMetricPresent()
@Message(id=7,
value="Not a valid key=value pair: %s")
IllegalArgumentException notAKeyValuePair(String string)
@Message(id=8,
value="Method must not be called")
IllegalStateException mustNotBeCalled()
@Message(id=9,
value="Gauge with id %s already exists")
IllegalArgumentException gaugeWithIdAlreadyExists(org.eclipse.microprofile.metrics.MetricID metricID)
@Message(id=10,
value="Metric name must not be null or empty")
IllegalArgumentException metricNameMustNotBeNullOrEmpty()
@Message(id=11,
value="Metric %s already exists under a different type (%s)")
IllegalStateException metricExistsUnderDifferentType(String name,
String existingType)
@Message(id=12,
value="Unit is different from the unit in previous usage (%s)")
IllegalStateException unitDiffersFromPreviousUsage(String existingUnit)
@Message(id=13,
value="Description is different from the description in previous usage")
IllegalStateException descriptionDiffersFromPreviousUsage()
@Message(id=14,
value="Display name is different from the display name in previous usage")
IllegalStateException displayNameDiffersFromPreviousUsage()
@Message(id=15,
value="A metric with name %s already exists")
IllegalStateException metricWithNameAlreadyExists(String name)
@Message(id=16,
value="Unable to infer a metric type")
IllegalStateException unableToInferMetricType()
@Message(id=17,
value="Attempting to register a %s, but the passed metadata contains type=%s")
IllegalArgumentException typeMismatch(org.eclipse.microprofile.metrics.MetricType beingRegistered,
org.eclipse.microprofile.metrics.MetricType typeInMetadata)
@Message(id=18,
value="Ambiguous metric type, %s and %s are possible")
IllegalArgumentException ambiguousMetricType(org.eclipse.microprofile.metrics.MetricType eligibleType1,
org.eclipse.microprofile.metrics.MetricType eligibleType2)
@Message(id=19,
value="Unknown metric annotation type %s")
IllegalArgumentException unknownMetricAnnotationType(Class<?> annotationType)
@Message(id=20,
value="Malformed object name")
IllegalStateException malformedObjectName(@Cause
MalformedObjectNameException cause)
Copyright © 2018–2021. All rights reserved.