Change the exception throw way for VIM register.
[aai/esr-server.git] / esr-mgr / src / main / java / org / onap / aai / esr / exception / ExtsysException.java
index acfa459..9561934 100644 (file)
@@ -41,8 +41,11 @@ public class ExtsysException extends Exception {
     super();
   }
 
-  public ExtsysException(String errorCode, String errorMsg) {
-    this.errorCode = errorCode;
-    this.errorMsg = errorMsg;
+  public ExtsysException(String msg, Exception e) {
+      super(msg, e);
+  }
+  
+  public ExtsysException(String msg) {
+      super(msg);
   }
 }