|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.jms.JMSException
weblogic.jms.common.JMSException
weblogic.jms.extensions.SequenceGapException
public final class SequenceGapException
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.
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 |
---|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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 |
---|
public SequenceGapException(String reason, String errorCode, Destination destination, int missingCount)
reason
- a description of the exception.errorCode
- a string specifying the vendor specific
error code.destination
- a reference to the destination from which
messages were lostmissingCount
- a integer specifying the size of the gap
(expressed as a number of missing messages)public SequenceGapException(String reason, Destination destination, int missingCount)
reason
- a description of the exception.destination
- a reference to the destination from which
messages were lostmissingCount
- a integer specifying the size of the gap
(expressed as a number of missing messages)Method Detail |
---|
public Destination getJMSDestination()
public int getMissingCount()
public boolean isInformational()
isInformational
in class JMSException
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |