replaced throw_error with throw_exception
Wrote tests for CannotOverrideLocalMethodIsPresent
Wrote CannotOverrideLocalMethodIsPresent