Exception thrown by factory.