- Catch ReflectionException in getTypeRestriction() and rethrow as
  lang.FormatException with more details.
- add complementing test
- actually expect exception
- throw lang.ClassFormatException, add more details to message
- adapt test expectation
Merge pull request #355 from kiesel/fix-typerestriction

Catch ReflectionException in getTypeRestriction()