Merge "Route.java -remove exceptions"
authorJonathan Gathman <jonathan.gathman@att.com>
Wed, 6 Nov 2019 12:46:45 +0000 (12:46 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 6 Nov 2019 12:46:45 +0000 (12:46 +0000)
auth/auth-core/src/main/java/org/onap/aaf/auth/rserv/Route.java

index a328284..f8c5ae1 100644 (file)
@@ -56,7 +56,7 @@ public class Route<TRANS extends Trans> {
         content.add(code, others);
     }
 
-    public HttpCode<TRANS,?> getCode(TRANS trans, HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException {
+    public HttpCode<TRANS,?> getCode(TRANS trans, HttpServletRequest req, HttpServletResponse resp) {
         // Type is associated with Accept for GET (since it is what is being returned
         // We associate the rest with ContentType.
         // FYI, thought about this a long time before implementing this way.