TypeNotRegisteredException now contains additional detail information in case it cannot construct a type.