RE: Proper n tiered exception handling -- RESOLVED -- I think.

2005-02-15 Thread Brian McGovern
can, but am having trouble understanding the theory. I'd LOVE an example of an ApplicationSpecificException class. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 12:00 PM To: Struts Users Mailing List Subject: RE: Proper n tiered e

RE: Proper n tiered exception handling

2005-02-15 Thread Brian McGovern
theory. I'd LOVE an example of an ApplicationSpecificException class. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 12:00 PM To: Struts Users Mailing List Subject: RE: Proper n tiered exception handling I'm sure your right Dan

RE: Proper n tiered exception handling

2005-02-15 Thread Mark Bennett
I think you are missing out on some usefull features by using this. You can't use the ActionMapping Parameter property to distinguish operations and you will have to reimplement a solution if you use DispatchAction. I think there are benefits to declaritive exception handling, flexibility. Mar

RE: Proper n tiered exception handling

2005-02-15 Thread jgkennedy
to "embed" the actually problem. Good stuff though, thanks -Original Message- From: Daniel Lipofsky <[EMAIL PROTECTED]> Sent: Feb 15, 2005 11:52 AM To: Struts Users Mailing List Subject: RE: Proper n tiered exception handling Why do you do all that work to print

RE: Proper n tiered exception handling

2005-02-15 Thread Daniel Lipofsky
edByException(); if (t3 != null && t3 != t && t3 != exception && t3 != exception.getCause()) log.error("caused by: ", t3); } - Dan > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 15, 20

Re: Proper n tiered exception handling

2005-02-15 Thread Antony Joseph
Different applications have different requirements. Take a look at the exception handling in the workeffort application download http://www.logicden.com to get an idea. The files you may want to look at are: ApplicationExceptionHandler.java, files in package com.logicden.workeffort.service.exc

RE: Proper n tiered exception handling

2005-02-15 Thread jgkennedy
exception that you caught? How do you grab the error on the JSP page? Thanks -Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 15, 2005 11:16 AM To: Struts Users Mailing List Subject: Re: Proper n tiered exception handling I use declaritive ex

RE: Proper n tiered exception handling

2005-02-15 Thread Brian McGovern
, 2005 11:16 AM To: Struts Users Mailing List Subject: Re: Proper n tiered exception handling I use declaritive exception handling which is built into Struts. Works great for me. I really don't use custom exceptions that much any more because it's harder to track the original error

Re: Proper n tiered exception handling

2005-02-15 Thread jgkennedy
I use declaritive exception handling which is built into Struts. Works great for me. I really don't use custom exceptions that much any more because it's harder to track the original error. Also, I don't clutter my code with alot of try/catch blocks unless it's absolutely necessary. I allow