Will be thrown when the CoAPRequest's URI_PATH option contains a special character like "]" and calling CoAPRequest.getTargetUri()
java.net.URISyntaxException: Illegal character in path at index 34: coap://host.com:5555/testpath/test]path
at java.net.URI$Parser.fail(URI.java:2810)
at java.net.URI$Parser.checkChars(URI.java:2983)
at java.net.URI$Parser.parseHierarchical(URI.java:3067)
at java.net.URI$Parser.parse(URI.java:3015)
at java.net.URI.<init>(URI.java:577)
at de.uniluebeck.itm.spitfire.nCoap.message.CoapRequest.getTargetUri(CoapRequest.java:149)
at de.uniluebeck.itm.spitfire.nCoap.message.options.OptionTest$3.runTest(OptionTest.java:152)
at de.uniluebeck.itm.spitfire.nCoap.message.options.OptionTest$3.runTest(OptionTest.java:140)
at de.uniluebeck.itm.spitfire.nCoap.message.options.OptionTest$CoAPUriOptionsToUriTest.test(OptionTest.java:197)
at de.uniluebeck.itm.spitfire.nCoap.message.options.OptionTest.testCoAPTargetUriOptionsToUriEncoding(OptionTest.java:140)
Will be thrown when the CoAPRequest's URI_PATH option contains a special character like "]" and calling CoAPRequest.getTargetUri()