diff options
author | Jack Lloyd <[email protected]> | 2016-06-05 12:10:14 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-06-07 08:30:28 -0400 |
commit | 67a215deb593c6850992537cb6cb3f55ab65a6ab (patch) | |
tree | 4be3b94476405f5115ab7a54f0015f58a0bf776d /src/lib/cert/x509/name_constraint.cpp | |
parent | b87a43f4cce797c7f1ee4ecc9bed229f6458a4d6 (diff) |
Add Not_Implemented exception
Diffstat (limited to 'src/lib/cert/x509/name_constraint.cpp')
-rw-r--r-- | src/lib/cert/x509/name_constraint.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cert/x509/name_constraint.cpp b/src/lib/cert/x509/name_constraint.cpp index a1ed19856..83f6386ba 100644 --- a/src/lib/cert/x509/name_constraint.cpp +++ b/src/lib/cert/x509/name_constraint.cpp @@ -33,7 +33,7 @@ GeneralName::GeneralName(const std::string& v) : GeneralName() void GeneralName::encode_into(class DER_Encoder&) const { - throw Exception("General Name encoding not implemented"); + throw Not_Implemented("GeneralName encoding"); } void GeneralName::decode_from(class BER_Decoder& ber) @@ -249,7 +249,7 @@ GeneralSubtree::GeneralSubtree(const std::string& v) : GeneralSubtree() void GeneralSubtree::encode_into(class DER_Encoder&) const { - throw std::runtime_error("General Subtree encoding not implemented"); + throw Not_Implemented("General Subtree encoding"); } void GeneralSubtree::decode_from(class BER_Decoder& ber) |