Removed Exception from displayResult method.