Hm, no ideas here... I would recommend rewriting the backend.

I know it sound boring, but ...

The user should (if not always 99%) not see exception specific information.
It might become a security risk if they start seeing your tables,
datastructures and so on...

On Thu, Dec 18, 2008 at 6:30 PM, v6_kranthi <[email protected]> wrote:

>   HI Fotis Chatzinikos,
>
> I don't want to handle at the backend because that will make all my
> services to be modified and it will be a lot of rework.
> Please suggest me if there is any way to do it at front end.
>
> Thankyou,
> Regards,
> V.Kranthi.
>
> --- In [email protected] <flexcoders%40yahoogroups.com>, "Fotis
> Chatzinikos"
>
> <fotis.chatzini...@...> wrote:
> >
> > Why do not you catch the exception in the backend and return an
> error code
> > to the frond end?
> >
> >
> >
> > On Thu, Dec 18, 2008 at 1:10 AM, v6_kranthi <v6_kran...@...> wrote:
> >
> > > Hi Everyone,
> > >
> > > I am new to flex and am currently facing some problem,
> > >
> > > this is what i want,
> > >
> > > i have java as backend(services) and flex as front end,
> > > i have blazeds in the middle to provide flex interaction with java.
> > >
> > > Now i want to handle the exceptions generated by java to be handled by
> > > flex.
> > >
> > > I could do that using the fault event, but with that i am not able to
> > > get the proper error message,
> > >
> > > i tried to get the sql message from the call stack of the exception
> > > which i could do in java using the exception.getCause method.
> > >
> > > I wanted to know is there any way in flex to get the message from call
> > > stack like getCause..
> > >
> > > Any help in this regard is deeply appreciated.
> > >
> > > Thankyou,
> > > Regards,
> > > V.Kranthi.
> > >
> > >
> > >
> >
> >
> >
> > --
> > Fotis Chatzinikos, Ph.D.
> > Founder,
> > Phinnovation
> > fotis.chatzini...@...,
> >
>
>  
>



-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
[email protected],

Reply via email to