org.apache.qpid
Class AMQConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.qpid.AMQException
              extended by org.apache.qpid.AMQConnectionException
All Implemented Interfaces:
Serializable

public class AMQConnectionException
extends AMQException

AMQConnectionException indicates that an error that requires the channel to be closed has occurred.

CRC Card
Responsibilities Collaborations
Represents an error that rquires the channel to be closed.

See Also:
Serialized Form
Todo:
Does this duplicate AMQChannelClosedException?

Field Summary
(package private)  boolean _closeConnetion
           
 
Constructor Summary
AMQConnectionException(AMQConstant errorCode, String msg, int classId, int methodId, byte major, byte minor, Throwable cause)
           
 
Method Summary
 AMQFrame getCloseFrame(int channel)
           
 
Methods inherited from class org.apache.qpid.AMQException
cloneForCurrentThread, getErrorCode, isHardError, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_closeConnetion

boolean _closeConnetion
Constructor Detail

AMQConnectionException

public AMQConnectionException(AMQConstant errorCode,
                              String msg,
                              int classId,
                              int methodId,
                              byte major,
                              byte minor,
                              Throwable cause)
Method Detail

getCloseFrame

public AMQFrame getCloseFrame(int channel)


Licensed to the Apache Software Foundation