org.apache.qpid
Class AMQChannelException

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

public class AMQChannelException
extends AMQException

AMQChannelException 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?

Constructor Summary
AMQChannelException(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
 

Constructor Detail

AMQChannelException

public AMQChannelException(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