public class FailOnError extends ReturnParserImpl
In the adapter configuration file this class is aliased as sapjco3-bapireturn-fail-on-error which is the preferred alternative to the fully qualified classname when building your configuration.
BAPIRET2_FIELD, BAPIRET2_ID, BAPIRET2_LOG_MSG_NO, BAPIRET2_LOG_NO, BAPIRET2_MESSAGE, BAPIRET2_NUMBER, BAPIRET2_PARAMETER, BAPIRET2_ROW, BAPIRET2_TYPE, BAPIRETURN_CODE, BAPIRETURN_LOG_MSG_NO, BAPIRETURN_LOG_NO, BAPIRETURN_MESSAGE, BAPIRETURN_TYPE, BAPIRETURN1_ID, BAPIRETURN1_LOG_MSG_NO, BAPIRETURN1_LOG_NO, BAPIRETURN1_MESSAGE, BAPIRETURN1_NUMBER, BAPIRETURN1_TYPE
Constructor and Description |
---|
FailOnError() |
Modifier and Type | Method and Description |
---|---|
void |
handle(com.sap.conn.jco.JCoStructure returnStruct,
com.adaptris.core.AdaptrisMessage msg)
Handle the return structure in some fashion.
|
void |
handle(com.sap.conn.jco.JCoTable returnTable,
com.adaptris.core.AdaptrisMessage msg)
Handle the return structure in some fashion.
|
isFailure, parseType
public void handle(com.sap.conn.jco.JCoStructure returnStruct, com.adaptris.core.AdaptrisMessage msg) throws com.adaptris.core.ProduceException
BapiReturnParser
returnStruct
- the JCoStructure containing the BAPIRETURNmsg
- the AdaptrisMessage.com.adaptris.core.ProduceException
- if it should be treated as a ProduceExceptionpublic void handle(com.sap.conn.jco.JCoTable returnTable, com.adaptris.core.AdaptrisMessage msg) throws com.adaptris.core.ProduceException
BapiReturnParser
returnTable
- the JCoTable containing the BAPIRETURNmsg
- the AdaptrisMessage.com.adaptris.core.ProduceException
- if it should be treated as a ProduceExceptionCopyright Adaptris