Linked Exception class to factory subclasses.