Replaced Custom Exceptions for Built-in Exceptions.