Improve code to throw exception getting parents class instead of php warning
Merge pull request #275 from entering/avoid-warning-ref-class-parents

RuntimeReflectionService - throw exception instead of php warning