[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] exception on connect(chatroomId, null)

I take this back. The behaviour is ok as it is. Don't know what I was
thinking about really.

Tim


On Tue, Apr 18, 2006 at 07:52:02PM +0200, Tim Terlegård wrote:
> Hi,
> 
> I'm trying out the xmpp provider. I get an exception when I try to
> connect to a chatroom and I don't know why and the exception message is
> not very helpful.
> 
> In org.eclipse.ecf.provider.xmpp.container.XMPPGroupChatSOContainer:
> 
> } catch (Exception e) {
>     cleanUpConnectFail();
>     ContainerConnectException ce = new ContainerConnectException(
>         "Exception joining " + roomID);
>     ce.setStackTrace(e.getStackTrace());
>     throw ce;
> }
> 
> When I try chatroom.connect(roomId, null) I get an exception that is
> caught and rethrown in the code above.
> 
> I propose to add the exception e as an argument to the constructor of
> ContainerConnectExpression. That way the exception will reach the
> developer. Now you have no clue which of those 140 lines inside the
> try block throws the exception.
> 
> Tim
> _______________________________________________
> ecf-dev mailing list
> ecf-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ecf-dev