commit | 0d2ed2ee77275d94ad31540215ebebe600fec62c | [log] [tgz] |
---|---|---|
author | Spyridon Mastorakis <spiros.mastorakis@gmail.com> | Mon Jul 27 19:09:12 2015 -0700 |
committer | Spyridon Mastorakis <spiros.mastorakis@gmail.com> | Mon Aug 10 21:07:15 2015 -0700 |
tree | 3fa0339c2847643938edc2b2a4b2437010d3459d | |
parent | 6f35a0f05b359d1775276f775fe0e79ff8cce16b [diff] [blame] |
Enhance exception throwing with Boost Exception library Change-Id: I471023fc23ffaebe04d9668426b4c1b03e4962ba Refs: #2997
diff --git a/src/security/sec-rule-relative.cpp b/src/security/sec-rule-relative.cpp index 042d04f..4bf5eb9 100644 --- a/src/security/sec-rule-relative.cpp +++ b/src/security/sec-rule-relative.cpp
@@ -46,7 +46,7 @@ m_signerNameRegex(signerRegex, signerExpand) { if (op != ">" && op != ">=" && op != "==") - throw Error("op is wrong!"); + BOOST_THROW_EXCEPTION(Error("op is wrong")); } SecRuleRelative::~SecRuleRelative()