Re: DownLoad Action - exceptions

2005-05-21 Thread Frank W. Zammetti
Well, I'm not sure there is any one correct answer. I personally would view this no differently than I view any other exception thrown in a Struts app, which means I would use a GlobalExceptionHandler. I'm not sure what is considered best practice, but my approach is that I only try...catch b

Re: DownLoad Action - exceptions

2005-05-20 Thread Lucas Bern
What I mean is, I have to implement a getStreamInfo method that returns an instance of an implementation of StreamInfo, if during the execution of this method some exception is thrown, what to do??? Should I override the "execute" method surrounding a call to "super.execute" with try catch???

Re: DownLoad Action - exceptions

2005-05-20 Thread Frank W. Zammetti
You mean as far as what the user sees goes? I wouldn't think you would handle it any differently than you would any other exception that might happen in an Action. I personally use the GlobalExceptionHandler mechanism in Struts... after the handler writes out some log info and such, I forward

DownLoad Action - exceptions

2005-05-20 Thread Lucas Bern
Hello, I'm lookig for advise... How should be managed the exceptions by an acton that extends DownLoadAction Thanks Lucas - A tu celular ¿no le falta algo? Usá Yahoo! Messenger y Correo Yahoo! en tu teléfono celular. Más información aquí.