Search in sources :

Example 1 with ServiceException

use of com.wm.app.b2b.server.ServiceException in project Tundra by Permafrost.

the class idoc method identify.

// ---( server methods )---
public static final void identify(IData pipeline) throws ServiceException {
    // --- <<IS-START(identify)>> ---
    // @subtype unknown
    // @sigtype java 3.5
    // [i] object:0:optional $idoclist
    // [o] object:0:optional $idoclist
    IDataCursor cursor = pipeline.getCursor();
    try {
        IDocDocumentList list = IDataHelper.get(cursor, "$idoclist", IDocDocumentList.class);
        IDataHelper.put(cursor, "$idoclist", IDocDocumentListHelper.identify(list), false);
    } catch (Exception ex) {
        ExceptionHelper.raise(ex);
    } finally {
        cursor.destroy();
    }
// --- <<IS-END>> ---
}
Also used : IDocDocumentList(com.sap.conn.idoc.IDocDocumentList) InvocationTargetException(java.lang.reflect.InvocationTargetException) ServiceException(com.wm.app.b2b.server.ServiceException) IDocException(com.sap.conn.idoc.IDocException)

Aggregations

IDocDocumentList (com.sap.conn.idoc.IDocDocumentList)1 IDocException (com.sap.conn.idoc.IDocException)1 ServiceException (com.wm.app.b2b.server.ServiceException)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1