Revert "Fixes all the compilation errors regarding uncaught exceptions, syntax errors, typos, etc."

This reverts commit 37d717bb8f2488dfdd7b20319e2bb353c5e8fbcc.
Revert "Revert "Fixes all the compilation errors regarding uncaught exceptions, syntax errors, typos, etc.""

This reverts commit c47693fab6d8ce3af697fcc4dbb0c6af62831a50.
Fixed Dealer.java Exceptions