add error handling for addRequest

Change-Id: I46dfef76735f14abc1dc8d0a1d618a1963d4f8a0
diff --git a/src/ca-storage.hpp b/src/ca-storage.hpp
index c2ca1c5..7fbc1ec 100644
--- a/src/ca-storage.hpp
+++ b/src/ca-storage.hpp
@@ -29,9 +29,15 @@
 class CaStorage : noncopyable
 {
 public: // request related
+  /**
+   * @throw if request cannot be fetched from underlying data storage
+   */
   virtual CaState
   getRequest(const std::string& requestId) = 0;
 
+  /**
+   * @throw if there is an existing request with the same request ID
+   */
   virtual void
   addRequest(const CaState& request) = 0;