Revert "Use ReflectionException"

This reverts commit 4f7fb905dddd99ec482fec64d5632651f07651f4.