MessageDialog: Changed the constructor slightly
RankLogic: Exception is caught and dealt with