|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| 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.exception.BaseException
com.sap.caf.rt.exception.CAFBaseException
com.sap.caf.rt.connectivity.exception.CAFExtExecException
com.sap.caf.rt.connectivity.exception.CAFRFCExecException
com.sap.caf.rt.connectivity.exception.CAFBAPIExecException
public class CAFBAPIExecException
This exception is thrown when a problem with executing a BAPI external service occurs. It contains extra info which is returned by BAPIs.
| Nested Class Summary | |
|---|---|
static class |
CAFBAPIExecException.BAPIErrorMessageDescription
This is the type of the error messages of a BAPI exception. |
| Field Summary | |
|---|---|
static String |
TYPE_A
Abort type. |
static String |
TYPE_E
Error type. |
| Fields inherited from class com.sap.caf.rt.connectivity.exception.CAFExtExecException |
|---|
TYPE_RFC, TYPE_WS |
| Fields inherited from interface com.sap.exception.IBaseException |
|---|
audit, defaultLocale |
| Constructor Summary | |
|---|---|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.exception.BaseExceptionInfo baseExcInfo)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.exception.BaseExceptionInfo baseExcInfo,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
Deprecated. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Deprecated. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableText localizableText)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableTextFormatter textFormatter)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableTextFormatter textFormatter,
Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableTextFormatter textFormatter,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key)
Constructs a new CAFBAPIExecException with the default CAF resource accessor. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Object[] args)
Constructs a new CAFBAPIExecException with the default CAF resource accessor. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Object[] args,
Throwable cause)
Constructs a new CAFBAPIExecException with the default CAF resource accessor. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException with the default CAF resource accessor. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Throwable cause)
Constructs a new CAFBAPIExecException with the default CAF resource accessor. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException with the default CAF resource accessor. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg)
Deprecated. Use CAFBAPIExecException#CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause)
Deprecated. Use CAFBAPIExecException#CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException#CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg, Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[]) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[], Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[], Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, String) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Object[] args)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Object[]) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Object[] args,
Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Object[], Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Object[], Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, Throwable, boolean) instead. |
|
| Method Summary | |
|---|---|
void |
addBAPIErrorMessage(CAFBAPIExecException.BAPIErrorMessageDescription el)
Adds a new BAPI error message to this exception. |
CAFBAPIExecException.BAPIErrorMessageDescription[] |
getAllBAPIErrorMessages()
Returns all the BAPI error messages of this exception. |
String |
getLocalizedMessage()
Returns the localized message of this BAPI exception. |
String |
getMessage()
Returns the localized message of this BAPI exception. |
| Methods inherited from class com.sap.caf.rt.connectivity.exception.CAFRFCExecException |
|---|
getType |
| Methods inherited from class com.sap.caf.rt.exception.CAFBaseException |
|---|
getFaultInfo, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getRealCause, setFaultInfo |
| Methods inherited from class com.sap.exception.BaseException |
|---|
finallyLocalize, finallyLocalize, finallyLocalize, finallyLocalize, getCause, getLocalizableMessage, getLogCategory, getLogLocation, getLogSeverity, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedLocalizedMessage, getNestedStackTraceString, getStackTraceString, getSystemStackTraceString, initCause, log, printStackTrace, printStackTrace, printStackTrace, restoreLogSettings, setLogSettings, trace, trace |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_E
CAFBAPIExecException.BAPIErrorMessageDescription.getType(),
Constant Field Valuespublic static final String TYPE_A
CAFBAPIExecException.BAPIErrorMessageDescription.getType(),
Constant Field Values| Constructor Detail |
|---|
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location)
bapiErr - description of the BAPI errorlocation - logging locationpublic CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr)
CAFBAPIExecException(BAPIErrorMessageDescription, Location) instead.
bapiErr - description of the BAPI error
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.exception.BaseExceptionInfo baseExcInfo)
bapiErr - description of the BAPI errorbaseExcInfo - information about the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.exception.BaseExceptionInfo baseExcInfo,
boolean isRealCause)
bapiErr - description of the BAPI errorbaseExcInfo - information about the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationcause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
Throwable cause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, Throwable) instead.
bapiErr - description of the BAPI errorcause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorlocation - logging locationcause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
Throwable cause,
boolean isRealCause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, Throwable, boolean) instead.
bapiErr - description of the BAPI errorcause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessorkey - the key of the message in the resource bundle
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String) instead.
bapiErr - description of the BAPI errorra - resource accessorkey - the key of the message in the resource bundle
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Throwable) instead.
bapiErr - description of the BAPI errorra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Throwable cause,
boolean isRealCause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Throwable, boolean) instead.
bapiErr - description of the BAPI errorra - resource accessorkey - the key of the message in the resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[]) instead.
bapiErr - description of the BAPI errorra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[], Throwable) instead.
bapiErr - description of the BAPI errorra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[], Throwable, boolean) instead.
bapiErr - description of the BAPI errorra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessormsg - message from a resource bundle
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg)
CAFBAPIExecException#CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg) instead.
bapiErr - description of the BAPI errorra - resource accessormsg - message from a resource bundle
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause)
CAFBAPIExecException#CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg, Throwable) instead.
bapiErr - description of the BAPI errorra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.ResourceAccessor ra,
com.sap.localization.LocalizableText.Msg msg,
Throwable cause,
boolean isRealCause)
CAFBAPIExecException#CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg, Throwable, boolean) instead.
bapiErr - description of the BAPI errorra - resource accessormsg - message from a resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText)
bapiErr - description of the BAPI errorlocation - logging locationlocalizableText - localizable message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableText localizableText)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText) instead.
bapiErr - description of the BAPI errorlocalizableText - localizable message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable) instead.
bapiErr - description of the BAPI errorlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorlocation - logging locationlocalizableText - localizable messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable, boolean) instead.
bapiErr - description of the BAPI errorlocalizableText - localizable messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause)
bapiErr - description of the BAPI errorcategory - logging categoryseverity - logging severitylocation - logging locationlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.LocalizableText localizableText,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorcategory - logging categoryseverity - logging severitylocation - logging locationlocalizableText - localizable messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause)
bapiErr - description of the BAPI errorcategory - logging categoryseverity - logging severitylocation - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
com.sap.localization.ResourceAccessor ra,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorcategory - logging categoryseverity - logging severitylocation - logging locationra - resource accessorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableTextFormatter textFormatter)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText) instead.
bapiErr - description of the BAPI errortextFormatter - localizable message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableTextFormatter textFormatter,
Throwable cause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable) instead.
bapiErr - description of the BAPI errortextFormatter - localizable messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.localization.LocalizableTextFormatter textFormatter,
Throwable cause,
boolean isRealCause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable, boolean) instead.
bapiErr - description of the BAPI errortextFormatter - localizable messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key)
bapiErr - description of the BAPI errorlocation - logging locationkey - the key of the message in the resource bundle
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, String) instead.
bapiErr - description of the BAPI errorkey - the key of the message in the resource bundle
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Throwable cause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Throwable) instead.
bapiErr - description of the BAPI errorkey - the key of the message in the resource bundlecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorlocation - logging locationkey - the key of the message in the resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Throwable cause,
boolean isRealCause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Throwable, boolean) instead.
bapiErr - description of the BAPI errorkey - the key of the message in the resource bundlecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Object[] args)
bapiErr - description of the BAPI errorlocation - logging locationkey - the key of the message in the resource bundleargs - arguments for the message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Object[] args)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Object[]) instead.
bapiErr - description of the BAPI errorkey - the key of the message in the resource bundleargs - arguments for the message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Object[] args,
Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Object[] args,
Throwable cause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Object[], Throwable) instead.
bapiErr - description of the BAPI errorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
bapiErr - description of the BAPI errorlocation - logging locationkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
String key,
Object[] args,
Throwable cause,
boolean isRealCause)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, String, Object[], Throwable, boolean) instead.
bapiErr - description of the BAPI errorkey - the key of the message in the resource bundleargs - arguments for the messagecause - the throwable which caused this exceptionisRealCause - true if the currently constructed exception is the real exception and not just a wrapper, false if cause is the real one| Method Detail |
|---|
public CAFBAPIExecException.BAPIErrorMessageDescription[] getAllBAPIErrorMessages()
public void addBAPIErrorMessage(CAFBAPIExecException.BAPIErrorMessageDescription el)
el - the new BAPI error messagepublic String getMessage()
getMessage in class CAFBaseExceptionpublic String getLocalizedMessage()
getLocalizedMessage in interface com.sap.exception.IBaseExceptiongetLocalizedMessage in class CAFBaseException| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] CAF
|
[sap.com] caf/runtime/ear
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||