Throw exception if method does not exist.