catch NumberFormatException and return false

git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@12317 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Wolf Posdorfer
2011-05-03 08:45:38 +00:00
committed by wolf.posdorfer
parent cb2af0af57
commit bf8da86133

View File

@ -862,12 +862,14 @@ public class ConferenceRoomBrowser extends JPanel implements ActionListener,
boolean result = false;
try {
RoomInfo rif = MultiUserChat.getRoomInfo(
SparkManager.getConnection(), roomjid);
RoomInfo rif = MultiUserChat.getRoomInfo(SparkManager.getConnection(), roomjid);
result = rif.isMembersOnly() || rif.isPasswordProtected();
} catch (XMPPException e) {
} catch (NumberFormatException nfe) {
}
return result;