Exception: GorgonBunny::NoFinalOctetError
- Inherits:
-
InconsistentDataError
- Object
- StandardError
- Exception
- InconsistentDataError
- GorgonBunny::NoFinalOctetError
- 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
-
#initialize ⇒ NoFinalOctetError
constructor
A new instance of NoFinalOctetError.
Constructor Details
#initialize ⇒ NoFinalOctetError
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 |