Wrap constructor exceptions in an ObjectConstructorException instead of a ResolutionFailedException.
Code cleanup.