java.lang.Object | |||
↳ | java.lang.Throwable | ||
↳ | java.lang.Error | ||
↳ | com.rabbitmq.client.UnexpectedMethodError |
Indicates that a Method
object was supplied that was not
expected. For instance, basicGet(String, boolean)
throws this if it
receives anything other than AMQP.Basic.GetOk or
AMQP.Basic.GetEmpty, and the
com.rabbitmq.client.impl.AMQImpl.DefaultMethodVisitor DefaultMethodVisitor
throws this as the action within each visitor case.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Construct an UnexpecteMethodError with the given method parameter
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the wrapped method.
| |||||||||||
Return a string representation of this error.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Construct an UnexpecteMethodError with the given method parameter
method | the unexpected method |
---|
Return the wrapped method.
Return a string representation of this error.