IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Trycatch throw java exception

    Posted 01/21/05 01:35 PM

    Hi,

    Is it possible to throw a java exception (i.e. a java object) and catch it in flow, rather than just a text string?

    I have looked at wm.art.error:throwDetailedError, but this logs a message, which I don’t really want.

    Thanks.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Trycatch throw java exception

    Posted 01/21/05 02:53 PM

    to indicate a failure status in Sequence just throw ServiceException like

    catch (Exception ecp)
    {
    throw new ServiceException (ecp.toString());
    }


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: Trycatch throw java exception

    Posted 01/21/05 03:42 PM

    It would help if you could describe what you are trying to accomplish.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods