|
From: Rogan D. <li...@da...> - 2008-01-29 14:42:56
|
Hi folks, I am trying to deal with a derived property that can throw an exception when set (or even when "get"). The method signature is: byte[] getEncodedBody() throws IOException; void setEncodedBody(byte[] body) throws IOException; As suggested, there are some cases where invalid data will cause an IOException to be thrown. When this happens, I get "methodInvocation" showing up in my form message area. Is there some way of handling this exception, and propagating the underlying exception to the user? This appears to be handled somewhere in the BeanPropertyAccessStrategy or BeanWrapperImpl, although I can't see exactly where. Any ideas? Rogan |