|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.sapr3.bor.AbapErrorInfo
public final class AbapErrorInfo
This class represents an instance of BAPI RFC Return structure information.
Constructor Summary | |
---|---|
AbapErrorInfo(String message,
String errorNum,
String severityFlag)
Create a new instance. |
Method Summary | |
---|---|
String |
getInternalSource()
Miscellaneous context information. |
String |
getMsg()
Get the message string. |
Integer |
getMsgNum()
Get the message number. |
boolean |
isError()
Get the error indicator. |
boolean |
isWarn()
Get the warning indicator. |
void |
setInternalSource(String s)
Miscellaneous context information. |
String |
toString()
Make string representation of this instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbapErrorInfo(String message, String errorNum, String severityFlag) throws IllegalArgumentException
message
- The message returned from SAP RFC.errorNum
- The error number indicator.severityFlag
- The severity indicator from the RFC.
IllegalArgumentException
- if any params are null.Method Detail |
---|
public String getMsg()
public Integer getMsgNum()
public boolean isError()
true
if ABAP error was returned,
false
otherwise.public boolean isWarn()
true
if ABAP warning was returned,
false
otherwise.public void setInternalSource(String s)
s
- The value.public String getInternalSource()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |