Exception: Qpid::BadContentError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Qpid::BadContentError
- Defined in:
- lib/qpid.rb
Instance Method Summary collapse
-
#initialize(task, resp, err = nil) ⇒ BadContentError
constructor
A new instance of BadContentError.
Constructor Details
#initialize(task, resp, err = nil) ⇒ BadContentError
Returns a new instance of BadContentError.
35 36 37 |
# File 'lib/qpid.rb', line 35 def initialize(task, resp, err=nil) super("While #{task}, got unexpected data: #{ resp ? resp : 'nil' }" + (err ? " (Underlying error: #{err})" : '')) end |