Thanks for the help, guys. I researched Fault Handlers and found an
Adobe article that looked like it should work, but apparently not.
Here's what I added...
(to init():)
exceptionService = new RemoteObject( "GenericDestination" );
exceptionService.source = "Remoting.Examples.ExceptionsTest";
exceptionService.addEventListener( FaultEvent.FAULT, gotError );
(new function:)
private function gotError():void{
srv.cancel();
}
I'm guessing that I'm missing something?
--- In [email protected], "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> HTTPService implements its own try/catch in a way. Setup a fault event
> handler to see what's going on/catch faults.
>
> DK
>
> On Mon, Mar 31, 2008 at 6:16 AM, kenny14390 <[EMAIL PROTECTED]> wrote:
>
> > I have an application with an HTTPService on my main page and if the
> > page is reloaded too quickly, ugly error messages pop up, which is
> > definitely something I want to conceal. I surrounded the service's
> > "send()" method with a try catch but that's not helping. Any ideas on
> > how to fix it or just to conceal any error messages?
> >
> >
> >
>
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>