Home
last modified time | relevance | path

Searched refs:ioException (Results 1 – 5 of 5) sorted by relevance

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DHttp2.java107 throw ioException("Expected a connection header but was %s", connectionPreface.utf8()); in readConnectionPreface()
132 throw ioException("FRAME_SIZE_ERROR: %s", length); in nextFrame()
185 if (streamId == 0) throw ioException("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"); in readHeaders()
222 throw ioException("PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA"); in readData()
234 if (length != 5) throw ioException("TYPE_PRIORITY length: %d != 5", length); in readPriority()
235 if (streamId == 0) throw ioException("TYPE_PRIORITY streamId == 0"); in readPriority()
249 if (length != 4) throw ioException("TYPE_RST_STREAM length: %d != 4", length); in readRstStream()
250 if (streamId == 0) throw ioException("TYPE_RST_STREAM streamId == 0"); in readRstStream()
254 throw ioException("TYPE_RST_STREAM unexpected error code: %d", errorCodeInt); in readRstStream()
261 if (streamId != 0) throw ioException("TYPE_SETTINGS streamId != 0"); in readSettings()
[all …]
DSpdy3.java215 if (length != 8) throw ioException("TYPE_RST_STREAM length: %d != 8", length); in readRstStream()
220 throw ioException("TYPE_RST_STREAM unexpected error code: %d", errorCodeInt); in readRstStream()
233 if (length != 8) throw ioException("TYPE_WINDOW_UPDATE length: %d != 8", length); in readWindowUpdate()
238 if (increment == 0) throw ioException("windowSizeIncrement was 0", increment); in readWindowUpdate()
243 if (length != 4) throw ioException("TYPE_PING length: %d != 4", length); in readPing()
250 if (length != 8) throw ioException("TYPE_GOAWAY length: %d != 8", length); in readGoAway()
255 throw ioException("TYPE_GOAWAY unexpected error code: %d", errorCodeInt); in readGoAway()
263 throw ioException("TYPE_SETTINGS length: %d != 4 + 8 * %d", length, numberOfEntries); in readSettings()
277 private static IOException ioException(String message, Object... args) throws IOException { in ioException() method in Spdy3.Reader
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayer.java189 private IOException ioException; field in FakeHttpLayer.RequestMatcherResponseRule
198 public RequestMatcherResponseRule(RequestMatcher requestMatcher, IOException ioException) { in RequestMatcherResponseRule() argument
200 this.ioException = ioException; in RequestMatcherResponseRule()
221 if (ioException != null) throw ioException; in getResponse()
/external/guava/guava/src/com/google/common/hash/
DBloomFilter.java466 IOException ioException = new IOException(
471 ioException.initCause(e);
472 throw ioException;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java194 IOException ioException = new IOException("Exception in connect"); in connectSocket()
195 ioException.initCause(se); in connectSocket()
196 throw ioException; in connectSocket()