security: Final fixes for (basic-)identity-storage

Change-Id: Id374779050c4f0d4b90ae8c5c0c031df3e29e7eb
diff --git a/src/security/identity/identity-storage.cpp b/src/security/identity/identity-storage.cpp
index 6859332..d16d742 100644
--- a/src/security/identity/identity-storage.cpp
+++ b/src/security/identity/identity-storage.cpp
@@ -8,7 +8,6 @@
 
 #include <math.h>
 #include "../../c/util/time.h"
-#include <ndn-cpp/security/security-exception.hpp>
 #include <ndn-cpp/security/identity/identity-storage.hpp>
 
 using namespace std;
@@ -33,7 +32,7 @@
   Name keyName = Name(identityName).append(keyIdStr);
 
   if (doesKeyExist(keyName))
-    throw SecurityException("Key name already exists");
+    throw Error("Key name already exists");
 
   return keyName;
 }