SonicMQ API

progress.message.jclient
Class ChannelActiveException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jms.JMSException
              extended by progress.message.jclient.ChannelActiveException
All Implemented Interfaces:
java.io.Serializable

public class ChannelActiveException
extends JMSException

This exception is thrown when Duplicate Detection is in use and a channel with the given UUID is currently active. Use the getTime() method to determine when the channel MAY be inactive again.

See Also:
Channel.setUUID( String, int ), Serialized Form

Constructor Summary
ChannelActiveException(java.lang.String message, long time)
          The constructor.
 
Method Summary
 long getTime()
          Get the time when the channel MAY be inactive again.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelActiveException

public ChannelActiveException(java.lang.String message,
                              long time)
The constructor.

Parameters:
message - The message containing the explanation for the error.
time - The time when the channel may be inactive again.
Method Detail

getTime

public long getTime()
Get the time when the channel MAY be inactive again.

Returns:
long The time when the channel may be inactive again.

SonicMQ API

Copyright © 1999-2012 Progress Software Corporation. All Rights Reserved.
HTML formatted on 13-March-2012.