Searched refs:ProtocolException (Results 1 – 4 of 4) 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()
25 public class ProtocolException extends java.io.IOException { class32 public ProtocolException() { in ProtocolException() method in ProtocolException38 public ProtocolException(String detailMessage) { in ProtocolException() method in ProtocolException46 public ProtocolException(String detailMessage, Throwable cause) { in ProtocolException() method in ProtocolException
672 public void setRequestMethod(String method) throws ProtocolException { in setRequestMethod()674 throw new ProtocolException("Connection already established"); in setRequestMethod()685 throw new ProtocolException("Unknown method '" + method + "'; must be one of " + in setRequestMethod()
36 import java.net.ProtocolException;423 } catch (ProtocolException expected) { in testGetResponseCodeNoResponseBody()1148 } catch (ProtocolException expected) {2045 } catch (ProtocolException expected) {2058 } catch (ProtocolException expected) {