A.J. Barnes <andrew.barnes <at> stonebow.otago.ac.nz> writes:

> 
> David,
> 
> The approach I tend to use is to catch the exception in the Handler and
> set the Status of the Response there to SERVER_ERROR_INTERNAL.
> 
> HTH,
> 
> AJ

Thanks for the response AJ,

I originally thought of doing this, but that would require me to override the
'handle' methods, which I am currently not doing.
It would be nice if the 'getVariants()' method could throw an exception that the
default handler would catch in its 'handleGet' method - i.e. a try-catch block
in handleGet.

Jerome, is this a plausible patch that could be written?

As well, I am open to further suggestions...

Thanks,
David

Reply via email to