git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@318
ab3bd59b-922f-494d-bb5f-
6f0a3c29deca
log.debug("Loaded the class for " + attrClass);
ShibAttribute sa = (ShibAttribute) attrClass.newInstance();
return sa.toSamlAttribute(this.domain, vals.toArray());
+
+ } catch (SAMLException e) {
+ log.error("Error converting attribute to SAML (" + jAttr.getID() + ") :" + e.getMessage());
+ return null;
} catch (Exception e) {
log.error("Failed to load the class for attribute (" + jAttr.getID() + ") :" + e);
return null;