Class: Storm::DRPCExecutionException
- Inherits:
-
Thrift::Exception
- Object
- Thrift::Exception
- Storm::DRPCExecutionException
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/storm/thrift/storm_types.rb
Constant Summary collapse
- MSG =
1
- FIELDS =
{ MSG => {:type => ::Thrift::Types::STRING, :name => 'msg'} }
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ DRPCExecutionException
constructor
A new instance of DRPCExecutionException.
- #message ⇒ Object
- #struct_fields ⇒ Object
- #validate ⇒ Object
Constructor Details
#initialize(message = nil) ⇒ DRPCExecutionException
Returns a new instance of DRPCExecutionException.
778 779 780 781 |
# File 'lib/storm/thrift/storm_types.rb', line 778 def initialize(=nil) super() self.msg = end |
Instance Method Details
#message ⇒ Object
783 |
# File 'lib/storm/thrift/storm_types.rb', line 783 def ; msg end |
#struct_fields ⇒ Object
791 |
# File 'lib/storm/thrift/storm_types.rb', line 791 def struct_fields; FIELDS; end |
#validate ⇒ Object
793 794 795 |
# File 'lib/storm/thrift/storm_types.rb', line 793 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field msg is unset!') unless @msg end |