Throw exception if method is not found