BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.jms.extensions
Class SequenceGapException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.jms.JMSException
              extended byweblogic.jms.common.JMSException
                  extended byweblogic.jms.extensions.SequenceGapException
All Implemented Interfaces:
Serializable

public final class SequenceGapException
extends weblogic.jms.common.JMSException

This exception is thrown when a multicast consumer detects a sequence gap in the data stream.

A sequence gap occurs when messages are received out of order, resulting in one or more messages being skipped. If a skipped message is subsequently delivered, it will be discarded.

See Also:
Serialized Form
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
SequenceGapException(String reason, Destination destination, int missingCount)
          Construct a SequenceGapException with reason.
SequenceGapException(String reason, String errorCode, Destination destination, int missingCount)
          Construct a SequenceGapException for exception.
 
Method Summary
 Destination getJMSDestination()
          Return the destination from which messages were lost
 int getMissingCount()
          Return the number of the missing message
 boolean isInformational()
           
 
Methods inherited from class weblogic.jms.common.JMSException
getLinkedException, setLinkedException
 
Methods inherited from class javax.jms.JMSException
getErrorCode
 
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

SequenceGapException

public SequenceGapException(String reason,
                            Destination destination,
                            int missingCount)
Construct a SequenceGapException with reason. Error code defaults to null.


SequenceGapException

public SequenceGapException(String reason,
                            String errorCode,
                            Destination destination,
                            int missingCount)
Construct a SequenceGapException for exception.

Method Detail

getJMSDestination

public Destination getJMSDestination()
Return the destination from which messages were lost

Returns:
Destination the destination from which messages were lost

getMissingCount

public int getMissingCount()
Return the number of the missing message

Returns:
Int the number of the missing message

isInformational

public boolean isInformational()

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.