Package org.apache.storm.utils
Class WrappedHBExecutionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.storm.thrift.TException
-
- org.apache.storm.generated.HBExecutionException
-
- org.apache.storm.utils.WrappedHBExecutionException
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<HBExecutionException>
,org.apache.storm.thrift.TBase<HBExecutionException,HBExecutionException._Fields>
,org.apache.storm.thrift.TSerializable
public class WrappedHBExecutionException extends HBExecutionException
Wraps the generated TException to allow getMessage() to return a valid string.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.storm.generated.HBExecutionException
HBExecutionException._Fields
-
-
Field Summary
-
Fields inherited from class org.apache.storm.generated.HBExecutionException
metaDataMap
-
-
Constructor Summary
Constructors Constructor Description WrappedHBExecutionException(String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getMessage()
-
Methods inherited from class org.apache.storm.generated.HBExecutionException
clear, compareTo, deepCopy, equals, equals, fieldForId, get_msg, getFieldValue, hashCode, is_set_msg, isSet, read, set_msg, set_msg_isSet, setFieldValue, toString, unset_msg, validate, write
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
WrappedHBExecutionException
public WrappedHBExecutionException(String msg)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
-