Set severity for PELs

This commit adds an option to pass severity while logging PEL.
This will help to classify PELs based on their severity.
By default severity of all the PELs logged for system VPD failure
is set to be unrecoverable where as other failures are flagged as
predictive errors.

Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com>
Change-Id: I9cd10a29252a42f5031b91b9c7ad2e284ed5b861
diff --git a/vpd_exceptions.hpp b/vpd_exceptions.hpp
index 35c05d4..2ea2cd5 100644
--- a/vpd_exceptions.hpp
+++ b/vpd_exceptions.hpp
@@ -112,13 +112,17 @@
     ~VpdJsonException() = default;
 
     /** @brief constructor
-     *  @param[in] - string to define exception
+     *  @param[in] msg - string to define exception
+     *  @param[in] path - Json path
      */
-    explicit VpdJsonException(const std::string& msg, const std::string& Path) :
-        VPDException(msg), jsonPath(Path)
+    VpdJsonException(const std::string& msg, const std::string& path) :
+        VPDException(msg), jsonPath(path)
     {
     }
 
+    /** @brief Json path getter method.
+     *  @return - Json path
+     */
     inline std::string getJsonPath() const
     {
         return jsonPath;