org.codehaus.activemq
Class DuplicateDurableSubscriptionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jms.JMSException
              extended byorg.codehaus.activemq.DuplicateDurableSubscriptionException
All Implemented Interfaces:
Serializable

public class DuplicateDurableSubscriptionException
extends JMSException

There is only meant to be a single durable subscription open for a given clientID and subscriber name; this exception is thrown if a user tries to subscribe twice for the same clientID and subscriber name.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Constructor Summary
DuplicateDurableSubscriptionException(ConsumerInfo info)
           
 
Method Summary
 String getClientID()
           
 String getConsumerName()
           
 
Methods inherited from class javax.jms.JMSException
getErrorCode, getLinkedException, setLinkedException
 
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

DuplicateDurableSubscriptionException

public DuplicateDurableSubscriptionException(ConsumerInfo info)
Method Detail

getClientID

public String getClientID()

getConsumerName

public String getConsumerName()


Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.