MetricNotFoundException

public class MetricNotFoundException extends RuntimeException

A custom exception thrown when a metric does not exist by name in the metric registry, and the default behavior of creating a new metric of the appropriate type and name is not an appropriate solution.

Constructors

MetricNotFoundException

public MetricNotFoundException(String message)

MetricNotFoundException

public MetricNotFoundException(String message, Throwable cause)