RE: Java exception handling

2006-11-10 Thread Bruno Melloni
] Sent: Friday, November 10, 2006 10:44 AM To: Struts Users Mailing List Subject: Re: Java exception handling -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miro, temp temp wrote: > For good exceptional handling should I create all my methods in try > catch block and throw exception in the

Re: Java exception handling

2006-11-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miro, temp temp wrote: > For good exceptional handling should I create all my methods in > try catch block and throw exception in the catch block with > e.printstacktrace() I would recommend simply doing this: > }catch(Exception e) { >

Java exception handling

2006-11-10 Thread temp temp
For good exceptional handling should I create all my methods in try catch block and throw exception in the catch block with e.printstacktrace() Exammple public void processQueryResults(Map metaInfo, Map entityInfo) throws WorkflowException {