e = new InvalidAdaptableException(msg);
break;
case FAILED_CALLING_POST_CONSTRUCT:
case NO_MODEL_ANNOTATION:
case NO_USABLE_CONSTRUCTOR:
e = new InvalidModelException(msg);
break;
case MISSING_CONSTRUCTOR_PARAMS:
case MISSING_FIELDS:
case MISSING_METHODS:
e = new MissingElementsException(failureType.message, missingElements, clazz);