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.

 View Only
Expand all | Collapse all

Reg: Replacement method for deprecated Method(throwerror)

  • 1.  Reg: Replacement method for deprecated Method(throwerror)

    Posted Thu May 10, 2018 10:39 AM

    Hello Experts,

    Can you please provide us the replacement method for “throwerror”

    Thanks in advance.

    Thanks,
    Ram.


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


  • 2.  RE: Reg: Replacement method for deprecated Method(throwerror)

    Posted Fri May 11, 2018 01:30 PM

    I am assuming you are talking about the deprecated IS Java API method Service.throwerror…Use the ServiceException in com.wm.app.b2b.server.ServiceException.

    throw new ServiceException(message)


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