Java Services Error Framework and ErrorInfo


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 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).