Category Archives: Programming

Testing exception handling with Groovy

I mentioned that sometimes using mocks created via Map coercion in Groovy didn’t always work as expected.  Here’s a concrete example. Here’s an exception handling code block that I’m trying to test, removing everything except the relevant bits: public void performActivity() throws ActivityException { try {    // create a… Read more »

Looking into Axis2 SoapFault Handling

On my current project, I’m working with Axis2 as the server-side web service platform.  The question of how to pass information on processing problems back to the client was raised.  In the past, I’ve written response schemata that included status codes, error details, and the like.  But in looking at… Read more »