Methods

Class Index [+]

Quicksearch

AMQ::Client::BadLengthError

Raised by adapters when actual frame payload size in bytes is not equal to the size specified in that frame’s header. This suggest that there is a bug in adapter or AMQ broker implementation.

@see bit.ly/amqp091spec AMQP 0.9.1 specification (Section 2.3)

Public Class Methods

new(expected_length, actual_length) click to toggle source
    # File lib/amq/client/exceptions.rb, line 45
45:       def initialize(expected_length, actual_length)
46:         super("Frame payload should be #{expected_length} long, but it's #{actual_length} long.")
47:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.