Added support for using oauth token for Kafka
[nonrtric/plt/ranpm.git] / influxlogger / src / main / java / org / oran / pmlog / exceptions / ServiceException.java
index f05d955..f7e4999 100644 (file)
@@ -36,4 +36,8 @@ public class ServiceException extends Exception {
         this.httpStatus = httpStatus;
     }
 
+    public ServiceException(String message) {
+        this(message, HttpStatus.I_AM_A_TEAPOT);
+    }
+
 }