Code Review
/
nonrtric
/
plt
/
ranpm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Merge "Added support for using oauth token for Kafka"
[nonrtric/plt/ranpm.git]
/
pmproducer
/
src
/
main
/
java
/
org
/
oran
/
pmproducer
/
exceptions
/
ServiceException.java
diff --git
a/pmproducer/src/main/java/org/oran/pmproducer/exceptions/ServiceException.java
b/pmproducer/src/main/java/org/oran/pmproducer/exceptions/ServiceException.java
index
55e2a48
..
5a8fa36
100644
(file)
--- a/
pmproducer/src/main/java/org/oran/pmproducer/exceptions/ServiceException.java
+++ b/
pmproducer/src/main/java/org/oran/pmproducer/exceptions/ServiceException.java
@@
-36,4
+36,9
@@
public class ServiceException extends Exception {
this.httpStatus = httpStatus;
}
+ public ServiceException(String message) {
+ super(message);
+ this.httpStatus = HttpStatus.BAD_REQUEST;
+ }
+
}