Home
last modified time | relevance | path

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

/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/
DHttp2.java109 throw ioException("Expected a connection header but was %s", connectionPreface.utf8()); in readConnectionPreface()
134 throw ioException("FRAME_SIZE_ERROR: %s", length); in nextFrame()
187 if (streamId == 0) throw ioException("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"); in readHeaders()
224 throw ioException("PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA"); in readData()
236 if (length != 5) throw ioException("TYPE_PRIORITY length: %d != 5", length); in readPriority()
237 if (streamId == 0) throw ioException("TYPE_PRIORITY streamId == 0"); in readPriority()
251 if (length != 4) throw ioException("TYPE_RST_STREAM length: %d != 4", length); in readRstStream()
252 if (streamId == 0) throw ioException("TYPE_RST_STREAM streamId == 0"); in readRstStream()
256 throw ioException("TYPE_RST_STREAM unexpected error code: %d", errorCodeInt); in readRstStream()
263 if (streamId != 0) throw ioException("TYPE_SETTINGS streamId != 0"); in readSettings()
[all …]
DSpdy3.java217 if (length != 8) throw ioException("TYPE_RST_STREAM length: %d != 8", length); in readRstStream()
222 throw ioException("TYPE_RST_STREAM unexpected error code: %d", errorCodeInt); in readRstStream()
235 if (length != 8) throw ioException("TYPE_WINDOW_UPDATE length: %d != 8", length); in readWindowUpdate()
240 if (increment == 0) throw ioException("windowSizeIncrement was 0", increment); in readWindowUpdate()
245 if (length != 4) throw ioException("TYPE_PING length: %d != 4", length); in readPing()
252 if (length != 8) throw ioException("TYPE_GOAWAY length: %d != 8", length); in readGoAway()
257 throw ioException("TYPE_GOAWAY unexpected error code: %d", errorCodeInt); in readGoAway()
265 throw ioException("TYPE_SETTINGS length: %d != 4 + 8 * %d", length, numberOfEntries); in readSettings()
279 private static IOException ioException(String message, Object... args) throws IOException { in ioException() method in Spdy3.Reader
/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/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/framed/
DHttp2.java112 throw ioException("Expected a connection header but was %s", connectionPreface.utf8()); in readConnectionPreface()
137 throw ioException("FRAME_SIZE_ERROR: %s", length); in nextFrame()
190 if (streamId == 0) throw ioException("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0"); in readHeaders()
227 throw ioException("PROTOCOL_ERROR: FLAG_COMPRESSED without SETTINGS_COMPRESS_DATA"); in readData()
239 if (length != 5) throw ioException("TYPE_PRIORITY length: %d != 5", length); in readPriority()
240 if (streamId == 0) throw ioException("TYPE_PRIORITY streamId == 0"); in readPriority()
254 if (length != 4) throw ioException("TYPE_RST_STREAM length: %d != 4", length); in readRstStream()
255 if (streamId == 0) throw ioException("TYPE_RST_STREAM streamId == 0"); in readRstStream()
259 throw ioException("TYPE_RST_STREAM unexpected error code: %d", errorCodeInt); in readRstStream()
266 if (streamId != 0) throw ioException("TYPE_SETTINGS streamId != 0"); in readSettings()
[all …]
/external/javapoet/src/test/java/com/squareup/javapoet/
DMethodSpecTest.java274 ClassName ioException = ClassName.get(IOException.class); in duplicateExceptionsIgnored() local
277 .addException(ioException) in duplicateExceptionsIgnored()
280 .addException(ioException) in duplicateExceptionsIgnored()
282 assertThat(methodSpec.exceptions).isEqualTo(Arrays.asList(ioException, timeoutException)); in duplicateExceptionsIgnored()
283 assertThat(methodSpec.toBuilder().addException(ioException).build().exceptions) in duplicateExceptionsIgnored()
284 .isEqualTo(Arrays.asList(ioException, timeoutException)); in duplicateExceptionsIgnored()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DFakeHttpLayer.java278 private IOException ioException; field in FakeHttpLayer.RequestMatcherResponseRule
287 public RequestMatcherResponseRule(RequestMatcher requestMatcher, IOException ioException) { in RequestMatcherResponseRule() argument
289 this.ioException = ioException; in RequestMatcherResponseRule()
310 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/mockito/src/test/java/org/mockitousage/stubbing/
DStubbingWithThrowablesTest.java139 IOException ioException = new IOException(); in shouldAllowSettingCheckedException() local
141 when(reader.read()).thenThrow(ioException); in shouldAllowSettingCheckedException()
143 exception.expect(sameInstance(ioException)); in shouldAllowSettingCheckedException()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/arj/
DArjArchiveInputStream.java70 } catch (final IOException ioException) { in ArjArchiveInputStream()
71 throw new ArchiveException(ioException.getMessage(), ioException); in ArjArchiveInputStream()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java237 IOException ioException = new IOException("Exception in connect"); in connectSocket()
238 ioException.initCause(e); in connectSocket()
239 throw ioException; in connectSocket()
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DPlatform.java378 IOException ioException = new IOException("Exception in connect"); in connectSocket()
379 ioException.initCause(se); in connectSocket()
380 throw ioException; in connectSocket()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcUtil.java731 } catch (IOException ioException) {
733 log.log(Level.WARNING, "exception caught in closeQuietly", ioException);
DServerImpl.java608 } catch (IOException ioException) { in messagesAvailable()
610 log.log(Level.WARNING, "Exception closing stream", ioException); in messagesAvailable()
/external/grpc-grpc-java/core/
Dgrpc-core-1.14.0.jarMETA-INF/ META-INF/MANIFEST.MF io/ io/grpc/ io/ ...
/external/guice/extensions/persist/lib/
Dxwork-2.0.4.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/opensymphony/ com/ ...
/external/guice/extensions/struts2/lib/
Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0. ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.14.0.v20180528-0519.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...