return constructor.newInstance(new Object[] { criteria });
} catch (java.lang.SecurityException e) {
log.error("Error instantiating new EvaluableCredentialCriteria instance", e);
throw new SecurityException("Could not create new EvaluableCredentialCriteria", e);
} catch (NoSuchMethodException e) {
log.error("Error instantiating new EvaluableCredentialCriteria instance", e);
throw new SecurityException("Could not create new EvaluableCredentialCriteria", e);
} catch (IllegalArgumentException e) {
log.error("Error instantiating new EvaluableCredentialCriteria instance", e);
throw new SecurityException("Could not create new EvaluableCredentialCriteria", e);
} catch (InstantiationException e) {
log.error("Error instantiating new EvaluableCredentialCriteria instance", e);
throw new SecurityException("Could not create new EvaluableCredentialCriteria", e);
} catch (IllegalAccessException e) {
log.error("Error instantiating new EvaluableCredentialCriteria instance", e);
throw new SecurityException("Could not create new EvaluableCredentialCriteria", e);
} catch (InvocationTargetException e) {
log.error("Error instantiating new EvaluableCredentialCriteria instance", e);
throw new SecurityException("Could not create new EvaluableCredentialCriteria", e);
}
} else {
log.debug("Registry could not locate evaluable criteria for criteria class {}", criteria.getClass()
.getName());