Package org.apache.storm.utils
Class WrappedInvalidTopologyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.apache.storm.thrift.TException
-
- org.apache.storm.generated.InvalidTopologyException
-
- org.apache.storm.utils.WrappedInvalidTopologyException
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvalidTopologyException>,org.apache.storm.thrift.TBase<InvalidTopologyException,InvalidTopologyException._Fields>,org.apache.storm.thrift.TSerializable
public class WrappedInvalidTopologyException extends InvalidTopologyException
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.InvalidTopologyException
InvalidTopologyException._Fields
-
-
Field Summary
-
Fields inherited from class org.apache.storm.generated.InvalidTopologyException
metaDataMap
-
-
Constructor Summary
Constructors Constructor Description WrappedInvalidTopologyException(String msg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()-
Methods inherited from class org.apache.storm.generated.InvalidTopologyException
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
-
WrappedInvalidTopologyException
public WrappedInvalidTopologyException(String msg)
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-