Removing Exception class usage.