Skip to Content
0
Former Member
Sep 21, 2006 at 12:30 PM

How to throw an exception that is not treated as error

25 Views

Hi,

I have a repository manager displayed as /root/myrepository. Now when someone who's not authorized clicked it, I wish an error message will display on top in red, but not throw an exception as System Error.

Now my implementation is to throw an ResourceException in getChildren() of the node. But when the user clicked on /root/repository, a System Error screen appeared, but what I want is just an error message.

Any help is much appreciated~

I don't know how to attach the screenshots. My MSN is alarm_ray@hotmail.com

Thanks,

Ray