org.apache.qpid.server.exchange
Class ExchangeInUseException

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

public class ExchangeInUseException
extends org.apache.qpid.AMQException

ExchangeInUseRegistry indicates that an exchange cannot be unregistered because it is currently being used.

CRC Card
Responsibilities Collaborations
Represents failure to unregister exchange that is in use.

See Also:
Serialized Form
Todo:
Not an AMQP exception as no status code., This exception is not used. However, it is part of the ExchangeRegistry interface, and looks like code is going to need to be added to throw/deal with this. Alternatively ExchangeResitries may be able to handle the issue internally.

Constructor Summary
ExchangeInUseException(String exchangeName)
           
 
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

ExchangeInUseException

public ExchangeInUseException(String exchangeName)


Licensed to the Apache Software Foundation