X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=saml%2Fprofile%2Fimpl%2FConditionsRule.cpp;h=0153bb6bffb130ede35792800125203567a115ef;hb=1462057b3b9ae7e165d34d988e30b14c213672ca;hp=3c365178ef7c7806190015d54da77db716c3c795;hpb=6dde4bb7afc0c3b862cfad5cd0c7330814c8421b;p=shibboleth%2Fcpp-opensaml.git diff --git a/saml/profile/impl/ConditionsRule.cpp b/saml/profile/impl/ConditionsRule.cpp index 3c36517..0153bb6 100644 --- a/saml/profile/impl/ConditionsRule.cpp +++ b/saml/profile/impl/ConditionsRule.cpp @@ -82,7 +82,7 @@ namespace opensaml { ConditionsRule::ConditionsRule(const DOMElement* e) : m_doc(nullptr) { - Category& log=Category::getInstance(SAML_LOGCAT".SecurityPolicyRule.Conditions"); + Category& log=Category::getInstance(SAML_LOGCAT ".SecurityPolicyRule.Conditions"); if (!e || !e->hasChildNodes()) { // Default the configuration. @@ -99,7 +99,7 @@ ConditionsRule::ConditionsRule(const DOMElement* e) : m_doc(nullptr) log.info("building SecurityPolicyRule of type %s", t.c_str()); m_rules.push_back(SAMLConfig::getConfig().SecurityPolicyRuleManager.newPlugin(t.c_str(), e)); } - catch (exception& ex) { + catch (std::exception& ex) { log.crit("error building SecurityPolicyRule: %s", ex.what()); } }