Package org.apache.hadoop.metrics2
Class MetricsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.hadoop.metrics2.MetricsException
- All Implemented Interfaces:
Serializable
A general metrics exception wrapper
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMetricsException(String message) Construct the exception with a messageMetricsException(String message, Throwable cause) Construct the exception with a message and a causeMetricsException(Throwable cause) Construct the exception with a cause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MetricsException
Construct the exception with a message- Parameters:
message- for the exception
-
MetricsException
Construct the exception with a message and a cause- Parameters:
message- for the exceptioncause- of the exception
-
MetricsException
Construct the exception with a cause- Parameters:
cause- of the exception
-