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??? I just want to know the best way to do it... Lucas "Frank W. Zammetti" <[EMAIL PROTECTED]> escribió: 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 to a page to display my exception. As long as the user clicks the link that calls your DownloadAction rather than right-click and Save As, this should work. Is that what you meant though, or did I misunderstand the question? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com Lucas Bern wrote: > 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í. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __________________________________________________ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar