Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Communications Framework (ECF) » ECF authentication
ECF authentication [message #609980] Fri, 01 December 2006 16:34 Go to next message
antonio is currently offline antonio
Messages: 6
Registered: July 2009
Junior Member
I've the following problem:

I've an ECF server container (TCPSOContainer) with a connect policy that handles the connection event and check if the client has the permissions and throws a SecurityException if the request fails.
On client side, i receive a ContainerException as on the server down event.
I want to distinguish the different exceptions. How I can?

Thank you

andima
Re: ECF authentication [message #609981 is a reply to message #609980] Fri, 01 December 2006 17:30 Go to previous message
Scott Lewis is currently offline Scott Lewis
Messages: 970
Registered: July 2009
Senior Member
Hi Antonio.

I think you can call getCause() and examine what's returned...but I'll
check later today to verify.

Scott


antonio wrote:
> I've the following problem:
>
> I've an ECF server container (TCPSOContainer) with a connect policy that handles the connection event and check if the client has the permissions and throws a SecurityException if the request fails.
> On client side, i receive a ContainerException as on the server down event.
> I want to distinguish the different exceptions. How I can?
>
> Thank you
>
> andima
Previous Topic:IRCLib IP approval
Next Topic:ECF 0.9.4 stable + project plan for next releases
Goto Forum:
  


Current Time: Thu Sep 18 01:49:52 GMT 2014

Powered by FUDForum. Page generated in 0.01639 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software