Package com.rabbitmq.client
Class UnexpectedMethodError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.rabbitmq.client.UnexpectedMethodError
- All Implemented Interfaces:
Serializable
Indicates that a
Method object was supplied that was not
expected. For instance, Channel.basicGet(java.lang.String, boolean) throws this if it
receives anything other than AMQP.Basic.GetOk or
AMQP.Basic.GetEmpty, and the
DefaultMethodVisitor
throws this as the action within each visitor case.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnexpectedMethodError(Method method) Construct an UnexpectedMethodError with the given method parameter -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
_method
-
-
Constructor Details
-
UnexpectedMethodError
Construct an UnexpectedMethodError with the given method parameter- Parameters:
method- the unexpected method
-
-
Method Details