public class ModuleException extends MessagingException
ModuleException
must be thrown by modules in case of error conditions.
ModuleException can include a nested exception as cause description that is logged in the trace to give further debugging hints.
In contrast to earlier SPs it is not necessary to set a particular exception in order to trigger the message retry.
In case of receiver channels the AF MS will always enter the message retry algorithm as it is specified in AAM. In case of sender
channels the adapter implementation must decide whether a retry is sensible or notERROR_CATEGORY, ERROR_CODE, errorCategory, errorCode, errorSource, messageInError, messageInErrorKey
Constructor and Description |
---|
ModuleException()
Simple constructor without cause (no retry)
|
ModuleException(String message)
Constructor with exception text but without cause (no retry)
|
ModuleException(String message,
Throwable cause)
Constructor with exception text and cause (retry if cause is a
MessagingException ) |
ModuleException(Throwable cause)
Constructor without exception text but with cause (retry if cause is a
MessagingException ) |
getErrorCategory, getErrorCode, getErrorSource, getMessageInErrorId, getMessageInErrorKey, getNestedException, setErrorCategory, setErrorCode, setErrorSource, setNestedException, toString
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ModuleException()
public ModuleException(String message)
message
- Human readable exception messagepublic ModuleException(String message, Throwable cause)
MessagingException
)message
- Human readable exception messagecause
- Throwable which caused this exceptionpublic ModuleException(Throwable cause)
MessagingException
)cause
- Throwable which caused this exceptionAccess Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.af.lib.facade
|
api
|
BC-XI
|
Copyright 2019 SAP AG Complete Copyright Notice