{
try
{
Buddy[] buddies = (Buddy[]) members.toArray(new Buddy[0]);
Conference conf = new Conference(this, host, buddies);
Response resp = listener.conferenceInvitationReceived(conf, msg);
processConferenceResponse(resp, buddies, room);
}
catch(UnsupportedOperationException e)
{
// this exception will never be thrown
}
catch(IllegalArgumentException e)
{
// this exception will never be thrown
}
}
else if(msg != null)
{
listener.protocolMessageReceived(this, Util.parseYahooMessage(msg));
}
break;
case SERVICE_CONFADDINVITE:
if(pack.getStatus() == 2)
;
else
{
try
{
Buddy[] buddies = (Buddy[]) members.toArray(new Buddy[0]);
Conference conf = new Conference(this, host, buddies);
Response resp = listener.conferenceInvitationReceived(conf, msg);
processConferenceResponse(resp, buddies, room);
}
catch(UnsupportedOperationException e)
{
// this exception will never be thrown