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
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
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
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
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
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
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
, 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
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
9 matches
Mail list logo