org.apache.qpid.server.queue
Class MessageCleanupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.qpid.AMQException
org.apache.qpid.server.queue.MessageCleanupException
- All Implemented Interfaces:
- Serializable
public class MessageCleanupException
- extends org.apache.qpid.AMQException
MessageCleanupException represents the failure to perform reference counting on messages correctly. This should not
happen, but there may be programming errors giving race conditions that cause the reference counting to go wrong.
CRC Card
Responsibilities | Collaborations
|
---|
Signals that the reference count of a message has gone below zero.
|
Indicates that a message store has lost a message which is still referenced.
|
- See Also:
- Serialized Form
- Todo:
- Not an AMQP exception as no status code., The race conditions leading to this error should be cleaned up, and a runtime exception used instead. If the
message store loses messages, then something is seriously wrong and it would be sensible to terminate the
broker. This may be disguising out of memory errors.
Methods inherited from class org.apache.qpid.AMQException |
cloneForCurrentThread, getErrorCode, isHardError, toString |
MessageCleanupException
public MessageCleanupException(long messageId,
org.apache.qpid.AMQException e)
MessageCleanupException
public MessageCleanupException(String message)
Licensed to the Apache Software Foundation