org.apache.qpid.server.queue
Class MessageCleanupException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.qpid.AMQException
              extended by 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.

Constructor Summary
MessageCleanupException(long messageId, org.apache.qpid.AMQException e)
           
MessageCleanupException(String message)
           
 
Method Summary
 
Methods inherited from class org.apache.qpid.AMQException
cloneForCurrentThread, getErrorCode, isHardError, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageCleanupException

public MessageCleanupException(long messageId,
                               org.apache.qpid.AMQException e)

MessageCleanupException

public MessageCleanupException(String message)


Licensed to the Apache Software Foundation