Eagerly reject invalid values to ClassName.fromClass.

Refs #79.
Expected exceptions are a bad idea. They pass if any statement in the code block throws, and they prevent the exception message from being interrogated. They also prevent the state of the object from being tested after the exception is thrown.

Nobody should ever use expected exceptions.