com.sap.engine.interfaces.messaging.api.exception

Class DuplicateMessageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sap.engine.interfaces.messaging.api.exception.MessagingException
              extended by com.sap.engine.interfaces.messaging.api.exception.DuplicateMessageException
All Implemented Interfaces:
Serializable

public class DuplicateMessageException
extends MessagingException

The DuplicateMessageException is thrown if one and the same message is to be processed a second time. Duplicate message detection is based on the message ID. This exception is thrown if either the application tries to send the same message twice or the same message is receive a second time.

Version:
$Id: //tc/xpi.ms/dev/src/_interface/pifce/api/com/sap/engine/interfaces/messaging/api/DuplicateMessageException.java#2 $
See Also:
Serialized Form

Field Summary
static String ERROR_CODE
           
protected  String errorCode
           
 
Fields inherited from class com.sap.engine.interfaces.messaging.api.exception.MessagingException
ERROR_CATEGORY, errorCategory, errorSource, messageInError, messageInErrorKey
 
Constructor Summary
DuplicateMessageException(Exception nestedException)
           
DuplicateMessageException(Message messageInError, Exception nestedException)
           
DuplicateMessageException(MessageKey messageInErrorKey, Exception nestedException)
           
DuplicateMessageException(MessageKey messageInErrorKey, String errorText)
           
DuplicateMessageException(Message messageInError, String errorText)
           
DuplicateMessageException(String errorText)
           
DuplicateMessageException(String errorText, Exception nestedException)
           
 
Method Summary
 
Methods inherited from class com.sap.engine.interfaces.messaging.api.exception.MessagingException
getErrorCategory, getErrorCode, getErrorSource, getMessageInErrorId, getMessageInErrorKey, getNestedException, setErrorCategory, setErrorCode, setErrorSource, setNestedException, 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
 

Field Detail

ERROR_CODE

public static final String ERROR_CODE
See Also:
Constant Field Values

errorCode

protected String errorCode
Constructor Detail

DuplicateMessageException

public DuplicateMessageException(String errorText)

DuplicateMessageException

public DuplicateMessageException(Exception nestedException)

DuplicateMessageException

public DuplicateMessageException(String errorText,
                                 Exception nestedException)

DuplicateMessageException

public DuplicateMessageException(Message messageInError,
                                 String errorText)

DuplicateMessageException

public DuplicateMessageException(MessageKey messageInErrorKey,
                                 String errorText)

DuplicateMessageException

public DuplicateMessageException(Message messageInError,
                                 Exception nestedException)

DuplicateMessageException

public DuplicateMessageException(MessageKey messageInErrorKey,
                                 Exception nestedException)


Copyright 2009 SAP AG Complete Copyright Notice