Searched refs:ProtocolException (Results 1 – 7 of 7) sorted by relevance
20 import java.net.ProtocolException;30 throw new ProtocolException(); in test_Constructor()31 } catch (ProtocolException e) { in test_Constructor()45 throw new ProtocolException("Some error message"); in test_ConstructorLjava_lang_String()46 } catch (ProtocolException e) { in test_ConstructorLjava_lang_String()
39 class ProtocolException extends IOException { class48 public ProtocolException(String message) { in ProtocolException() method in ProtocolException55 public ProtocolException() { in ProtocolException() method in ProtocolException
625 public void setRequestMethod(String method) throws ProtocolException { in setRequestMethod()627 throw new ProtocolException("Can't reset method: already connected"); in setRequestMethod()646 throw new ProtocolException("Invalid HTTP method: " + method); in setRequestMethod()
52 import java.net.ProtocolException;549 } catch (ProtocolException expected) { in getResponseCodeNoResponseBody()1730 } catch (ProtocolException expected) {2888 } catch (ProtocolException expected) {2901 } catch (ProtocolException expected) {
327 "ojluni/src/main/java/java/net/ProtocolException.java",
362 …uni/src/main/java/java/net/ProtocolException.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classe…
5653 method public void setRequestMethod(String) throws java.net.ProtocolException;5846 public class ProtocolException extends java.io.IOException {5847 ctor public ProtocolException(String);5848 ctor public ProtocolException();