com.rabbitmq.client
Class UnexpectedFrameError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by com.rabbitmq.client.UnexpectedFrameError
All Implemented Interfaces:
java.io.Serializable

public class UnexpectedFrameError
extends java.lang.Error

Thrown when the command parser hits an unexpected frame type.

See Also:
Serialized Form

Constructor Summary
UnexpectedFrameError(Frame frame, int expectedFrameType)
           
 
Method Summary
 int getExpectedFrameType()
           
 Frame getReceivedFrame()
           
static long getSerialVersionUID()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnexpectedFrameError

public UnexpectedFrameError(Frame frame,
                            int expectedFrameType)
Method Detail

getSerialVersionUID

public static long getSerialVersionUID()

getReceivedFrame

public Frame getReceivedFrame()

getExpectedFrameType

public int getExpectedFrameType()