org.apache.qpid
Class AMQConnectionClosedException

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

public class AMQConnectionClosedException
extends AMQException

AMQConnectionClosedException indicates that a connection has been closed.

This exception is really used as an event, in order that the method handler that raises it creates an event which is propagated to the io handler, in order to notify it of the connection closure.

CRC Card
Responsibilities Collaborations
Represents a the closure of a connection.

See Also:
Serialized Form
Todo:
Should review where exceptions-as-events

Constructor Summary
AMQConnectionClosedException(AMQConstant errorCode, String msg, Throwable cause)
           
 
Method Summary
 
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

AMQConnectionClosedException

public AMQConnectionClosedException(AMQConstant errorCode,
                                    String msg,
                                    Throwable cause)


Licensed to the Apache Software Foundation