Isolate deprecated code in CCSDK aai-service
[ccsdk/sli/adaptors.git] / aai-service / provider / src / test / java / org / onap / ccsdk / sli / adaptors / aai / EchoRequestTest.java
index 9d1f6a5..327e4c6 100755 (executable)
@@ -25,6 +25,7 @@ import static org.junit.Assert.assertNotNull;
 
 import java.io.UnsupportedEncodingException;
 import java.net.MalformedURLException;
+import java.net.URISyntaxException;
 import java.net.URL;
 
 import org.junit.AfterClass;
@@ -66,9 +67,9 @@ public class EchoRequestTest {
         try {
             url = request.getRequestUrl("GET", null);
             assertNotNull(url);
-        } catch (UnsupportedEncodingException | MalformedURLException exc) {
+        } catch (UnsupportedEncodingException | MalformedURLException | URISyntaxException exc) {
             LOG.error("Failed test", exc);
-        }
+               }
 
     }