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

Java Services Error Framework and ErrorInfo

  • 1.  Java Services Error Framework and ErrorInfo

    Posted 10/15/03 05:14 AM

    Hi,

    I’m working with IS v6.0 and working to implement an error framework using some Java services. I’ve managed to work through find my way around the call stack that ServerThread provides.

    While picking through com.wm.app.b2b.server.InvokeState I noted some references to ErrorInfo and ErrorManager.

    Has anybody made any use of ErrorInfo and/or ErrorManager, or are there easier ways to get at stack traces and error information?

    I’ve tried playing about with InvokeState.getCurrentErrorInfo() but I can’t seem to get anything other than a null reference, even when I’ve created a nice obvious error (e.g. substring with begin position outside of range).

    Regards,
    Slade.


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