Exception: GorgonBunny::NoFinalOctetError

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

Overview

Raised by adapters when frame does not end with octet GorgonAMQ::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.



150
151
152
# File 'lib/gorgon_bunny/lib/gorgon_bunny/exceptions.rb', line 150

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