|
CAF SAP NetWeaver CE 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectBaseException
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 java.lang.String |
TYPE_A
Abort type. |
static java.lang.String |
TYPE_E
Error type. |
| Fields inherited from class com.sap.caf.rt.connectivity.exception.CAFExtExecException |
|---|
TYPE_RFC, TYPE_WS |
| Constructor Summary | |
|---|---|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
BaseExceptionInfo baseExcInfo)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
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,
LocalizableText localizableText,
java.lang.Throwable cause)
Deprecated. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
Deprecated. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Category category,
int severity,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
LocalizableText localizableText)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
LocalizableTextFormatter textFormatter)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
LocalizableTextFormatter textFormatter,
java.lang.Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
LocalizableTextFormatter textFormatter,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
LocalizableText localizableText,
java.lang.Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
LocalizableText localizableText,
java.lang.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,
LocalizableText localizableText)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
LocalizableText localizableText,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
java.lang.Throwable cause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
java.lang.Throwable cause,
boolean isRealCause)
Constructs a new CAFBAPIExecException. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
Msg msg)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, Msg, Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
java.lang.String key)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[]) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[], Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Object[], Throwable, boolean) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, Throwable) instead. |
|
CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
java.lang.String key,
java.lang.Throwable cause,
boolean isRealCause)
Deprecated. Use CAFBAPIExecException(BAPIErrorMessageDescription, Location, ResourceAccessor, String, 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. |
java.lang.String |
getLocalizedMessage()
Returns the localized message of this BAPI exception. |
java.lang.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 |
|---|
getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getRealCause |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE_E
CAFBAPIExecException.BAPIErrorMessageDescription.getType(),
Constant Field Valuespublic static final java.lang.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,
BaseExceptionInfo baseExcInfo)
bapiErr - description of the BAPI errorbaseExcInfo - information about the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
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,
java.lang.Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationcause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
com.sap.tc.logging.Location location,
java.lang.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,
com.sap.tc.logging.Location location,
ResourceAccessor ra,
java.lang.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,
ResourceAccessor ra,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.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,
ResourceAccessor ra,
Msg msg)
bapiErr - description of the BAPI errorlocation - logging locationra - resource accessormsg - message from a resource bundle
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
ResourceAccessor ra,
Msg msg)
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,
ResourceAccessor ra,
Msg msg,
java.lang.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,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause)
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,
ResourceAccessor ra,
Msg msg,
java.lang.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,
ResourceAccessor ra,
Msg msg,
java.lang.Throwable cause,
boolean isRealCause)
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,
LocalizableText localizableText)
bapiErr - description of the BAPI errorlocation - logging locationlocalizableText - localizable message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
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,
LocalizableText localizableText,
java.lang.Throwable cause)
bapiErr - description of the BAPI errorlocation - logging locationlocalizableText - localizable messagecause - the throwable which caused this exception
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
LocalizableText localizableText,
java.lang.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,
LocalizableText localizableText,
java.lang.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,
LocalizableText localizableText,
java.lang.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,
LocalizableText localizableText,
java.lang.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,
LocalizableText localizableText,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.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,
ResourceAccessor ra,
java.lang.String key,
java.lang.Object[] args,
java.lang.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,
LocalizableTextFormatter textFormatter)
CAFBAPIExecException(BAPIErrorMessageDescription, Location, LocalizableText) instead.
bapiErr - description of the BAPI errortextFormatter - localizable message
public CAFBAPIExecException(CAFBAPIExecException.BAPIErrorMessageDescription bapiErr,
LocalizableTextFormatter textFormatter,
java.lang.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,
LocalizableTextFormatter textFormatter,
java.lang.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| Method Detail |
|---|
public CAFBAPIExecException.BAPIErrorMessageDescription[] getAllBAPIErrorMessages()
public void addBAPIErrorMessage(CAFBAPIExecException.BAPIErrorMessageDescription el)
el - the new BAPI error messagepublic java.lang.String getMessage()
getMessage in class CAFBaseExceptionpublic java.lang.String getLocalizedMessage()
getLocalizedMessage in class CAFBaseException
|
CAF SAP NetWeaver CE 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||