Throw exception on non Field or Method.