Exception: Bunny::NoFinalOctetError

Inherits:
InconsistentDataError show all
Defined in:
lib/bunny/exceptions.rb

Overview

Raised by adapters when frame does not end with octet AMQ::Protocol::Frame::FINAL_OCTET. This suggest that there is a bug in adapter or AMQ broker implementation.

Instance Method Summary collapse

Constructor Details

#initializeNoFinalOctetError

Returns a new instance of NoFinalOctetError



183
184
185
# File 'lib/bunny/exceptions.rb', line 183

def initialize
  super("Frame doesn't end with #{AMQ::Protocol::Frame::FINAL_OCTET} as it must, which means the size is miscalculated.")
end