Removed unnecessary Exception class