| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.hadoop.metrics2.MetricsException
@InterfaceAudience.Public @InterfaceStability.Evolving public class MetricsException
A general metrics exception wrapper
| Constructor Summary | |
|---|---|
| MetricsException(String message)Construct the exception with a message | |
| MetricsException(String message,
                                 Throwable cause)Construct the exception with a message and a cause | |
| MetricsException(Throwable cause)Construct the exception with a cause | |
| Method Summary | 
|---|
| Methods inherited from class java.lang.Throwable | 
|---|
| fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public MetricsException(String message)
message - for the exception
public MetricsException(String message,
                        Throwable cause)
message - for the exceptioncause - of the exceptionpublic MetricsException(Throwable cause)
cause - of the exception| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||