Revert "Removed Exception from displayResult method."

This reverts commit 01ecf0832cc042069eb7f76e7dfda8186d015188.