|
SAP NetWeaver 7.11 (EhP1 SP03) Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.aii.af.lib.mp.module.ModuleException
public class ModuleException
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 not
| Field Summary | |
|---|---|
protected Throwable |
cause
|
| Constructor Summary | |
|---|---|
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) |
|
| Method Summary | |
|---|---|
Throwable |
getCause()
Retrieves the cause for this module exception |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Throwable cause
| Constructor Detail |
|---|
public ModuleException()
public ModuleException(String message)
message - Human readable exception message
public 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 exception| Method Detail |
|---|
public Throwable getCause()
getCause in class Throwable
|
SAP NetWeaver 7.11 (EhP1 SP03) Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||