Eagerly reject invalid values to ClassName.fromClass.
Merge pull request #97 from square/jw/eager-rejection

Eagerly reject invalid values to ClassName.fromClass.