|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.di.connector.sapr3.user.AbapErrorInfo
public final class AbapErrorInfo
This class represents an instance of BAPI RFC Return structure information.
Constructor Summary | |
---|---|
AbapErrorInfo(java.lang.String message,
java.lang.String errorNum,
java.lang.String severityFlag)
Create a new instance. |
Method Summary | |
---|---|
java.lang.String |
getInternalSource()
Miscellaneous context information. |
java.lang.String |
getMsg()
Get the message string. |
java.lang.Integer |
getMsgNum()
Get the message number. |
boolean |
isError()
Get the error indicator. |
boolean |
isMissingUserError()
Convenience method to determine if error indicates that the specified user does not exist. |
boolean |
isWarn()
Get the warning indicator. |
void |
setInternalSource(java.lang.String s)
Miscellaneous context information. |
java.lang.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(java.lang.String message, java.lang.String errorNum, java.lang.String severityFlag) throws java.lang.IllegalArgumentException
message
- The message returned from SAP RFC.errorNum
- The error number indicator.severityFlag
- The severity indicator from the RFC.
java.lang.IllegalArgumentException
- if any params are null.Method Detail |
---|
public java.lang.String getMsg()
public java.lang.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(java.lang.String s)
s
- The value.public java.lang.String getInternalSource()
public boolean isMissingUserError()
true
if getMsgNum()
== 124.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |