Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq
Class DuplicateDurableSubscriptionException  view DuplicateDurableSubscriptionException download DuplicateDurableSubscriptionException.java

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

public class DuplicateDurableSubscriptionException
extends javax.jms.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.1.1 $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.String clientID
           
private  java.lang.String consumerName
           
private static long serialVersionUID
           
 
Fields inherited from class javax.jms.JMSException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
DuplicateDurableSubscriptionException(org.activemq.message.ConsumerInfo info)
           
 
Method Summary
 java.lang.String getClientID()
           
 java.lang.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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

clientID

private java.lang.String clientID

consumerName

private java.lang.String consumerName
Constructor Detail

DuplicateDurableSubscriptionException

public DuplicateDurableSubscriptionException(org.activemq.message.ConsumerInfo info)
Method Detail

getClientID

public java.lang.String getClientID()

getConsumerName

public java.lang.String getConsumerName()