We override setRequestHeaders to add some product-specific headers, and when determining their values, checked exceptions may be thrown. Currently, we have to log them as severe errors, but we'd really like to be able to wrap them inside GadgetException and have ProxyBase#outputError take care of producing an error response.
On 2010/06/23 16:36:35, gagan.goku wrote:
On 2010/06/23 16:05:22, janluehe wrote: >
Do you want to wrap an inner exception into GadgetException? Currently there doesn't seem to be anything in setRequestHeaders that
can throw
an exception. If you have a case where some null pointer exception etc
is
returned, then this change makes sense.
http://codereview.appspot.com/1683050/show
