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.
Modifier and Type | Field and Description |
---|---|
static String |
ERROR_CODE |
ERROR_CATEGORY, errorCategory, errorCode, errorSource, messageInError, messageInErrorKey
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode() |
getErrorCategory, getErrorSource, getMessageInErrorId, getMessageInErrorKey, getNestedException, setErrorCategory, setErrorCode, setErrorSource, setNestedException, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public static final String ERROR_CODE
public DuplicateMessageException(String errorText)
public DuplicateMessageException(Exception nestedException)
public DuplicateMessageException(String errorText, Exception nestedException)
public DuplicateMessageException(Message messageInError, String errorText)
public DuplicateMessageException(MessageKey messageInErrorKey, String errorText)
public DuplicateMessageException(Message messageInError, Exception nestedException)
public DuplicateMessageException(MessageKey messageInErrorKey, Exception nestedException)
public String getErrorCode()
getErrorCode
in class MessagingException
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.ifc.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice