How can I put a fault check for the following line that it will get a valid URL as an input? in this case the input is ReportPath.
WebConversation wc = new WebConversation();
WebResponse wr = wc.getResponse(ReportPath);
If I don't pass a valid URL then it says"
java.lang.RuntimeException: No protocol specified in URL ''