Class MetricsMvcEndpoint.NoSuchMetricException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.NoSuchMetricException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MetricsMvcEndpoint
@ResponseStatus(value=NOT_FOUND, reason="No such metric") public static class MetricsMvcEndpoint.NoSuchMetricException extends RuntimeException
Exception thrown when the specified metric cannot be found.- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description NoSuchMetricException(String string)
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
NoSuchMetricException
public NoSuchMetricException(String string)