HomeSort by relevance Sort by last modified time
    Searched refs:ioException (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /libcore/luni/src/test/java/libcore/java/io/
UncheckedIOExceptionTest.java 23 import java.io.IOException;
29 * java.lang.UncheckedIOException#UncheckedIOException(java.io.IOException)
32 IOException ioException = new IOException();
33 UncheckedIOException e = new UncheckedIOException(ioException);
34 assertEquals("java.io.IOException", e.getMessage());
35 assertSame(ioException, e.getCause());
39 * java.lang.UncheckedIOException#UncheckedIOException(java.lang.String, java.io.IOException)
42 IOException ioException = new IOException()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
IOExceptionTest.java 20 import java.io.IOException;
27 * java.io.IOException#IOException()
32 throw new IOException();
34 fail("Exception during IOException test");
35 } catch (IOException e) {
41 * java.io.IOException#IOException(java.lang.String)
46 throw new IOException("Some error message");
49 } catch (IOException e)
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/file/
DirectoryIteratorExceptionTest.java 21 import java.io.IOException;
27 IOException ioException = new IOException();
28 DirectoryIteratorException exception = new DirectoryIteratorException(ioException);
30 assertSame(ioException, exception.getCause());
SimpleFileVisitorTest.java 21 import java.io.IOException;
31 public void test_preVisitDirectory() throws IOException {
50 public void test_postVisitDirectory() throws IOException {
52 IOException ioException = new IOException();
58 fileVisitor.postVisitDirectory(null, ioException);
63 fileVisitor.postVisitDirectory(stubPath, ioException);
65 } catch (IOException actual) {
66 assertSame(ioException, actual)
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
Http2.java 19 import java.io.IOException;
102 @Override public void readConnectionPreface() throws IOException {
107 throw ioException("Expected a connection header but was %s", connectionPreface.utf8());
111 @Override public boolean nextFrame(Handler handler) throws IOException {
114 } catch (IOException e) {
132 throw ioException("FRAME_SIZE_ERROR: %s", length);
184 throws IOException {
185 if (streamId == 0) throw ioException("PROTOCOL_ERROR: TYPE_HEADERS streamId == 0");
204 throws IOException {
217 throws IOException {
    [all...]
Spdy3.java 20 import java.io.IOException;
125 @Override public boolean nextFrame(Handler handler) throws IOException {
131 } catch (IOException e) {
192 private void readSynStream(Handler handler, int flags, int length) throws IOException {
206 private void readSynReply(Handler handler, int flags, int length) throws IOException {
214 private void readRstStream(Handler handler, int flags, int length) throws IOException {
215 if (length != 8) throw ioException("TYPE_RST_STREAM length: %d != 8", length);
220 throw ioException("TYPE_RST_STREAM unexpected error code: %d", errorCodeInt);
225 private void readHeaders(Handler handler, int flags, int length) throws IOException {
232 private void readWindowUpdate(Handler handler, int flags, int length) throws IOException {
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayer.java 13 import java.io.IOException;
92 private HttpResponse findResponse(HttpRequest httpRequest) throws HttpException, IOException {
106 public HttpResponse emulateRequest(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext, RequestDirector requestDirector) throws HttpException, IOException {
189 private IOException ioException;
198 public RequestMatcherResponseRule(RequestMatcher requestMatcher, IOException ioException) {
200 this.ioException = ioException;
219 public HttpResponse getResponse() throws HttpException, IOException {
    [all...]
  /external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
FakeHttpLayer.java 3 import java.io.IOException;
97 private HttpResponse findResponse(HttpRequest httpRequest) throws HttpException, IOException {
113 public HttpResponse emulateRequest(HttpHost httpHost, HttpRequest httpRequest, HttpContext httpContext, RequestDirector requestDirector) throws HttpException, IOException {
278 private IOException ioException;
287 public RequestMatcherResponseRule(RequestMatcher requestMatcher, IOException ioException) {
289 this.ioException = ioException;
308 public HttpResponse getResponse() throws HttpException, IOException {
    [all...]
  /external/guava/guava/src/com/google/common/hash/
BloomFilter.java 30 import java.io.IOException;
415 public void writeTo(OutputStream out) throws IOException {
440 * @throws IOException if the InputStream throws an {@code IOException}, or if its data does
444 public static <T> BloomFilter<T> readFrom(InputStream in, Funnel<T> funnel) throws IOException {
466 IOException ioException = new IOException(
471 ioException.initCause(e);
472 throw ioException;
    [all...]
  /external/mockito/src/test/java/org/mockitousage/stubbing/
StubbingWithThrowablesTest.java 20 import java.io.IOException;
95 IOException ioException = new IOException();
97 when(reader.read()).thenThrow(ioException);
99 exception.expect(sameInstance(ioException));
  /frameworks/support/buildSrc/src/main/kotlin/androidx/build/gmaven/
GMavenVersionChecker.kt 26 import java.io.IOException
93 } catch (ioException: IOException) {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java 24 import java.io.IOException;
119 int connectTimeout) throws IOException {
228 int connectTimeout) throws IOException {
232 if (Util.isAndroidGetsocknameError(e)) throw new IOException(e);
237 IOException ioException = new IOException("Exception in connect");
238 ioException.initCause(e);
239 throw ioException;
  /external/robolectric/v3/
shadows-httpclient-3.1-SNAPSHOT.jar 
  /prebuilts/misc/common/robolectric/3.1.1/lib/
shadows-httpclient-3.1.1.jar 
  /prebuilts/misc/common/robolectric/3.4.2/lib/
httpclient-3.4.2.jar 
  /prebuilts/misc/common/robolectric/3.5.1/lib/
shadows-httpclient-3.5.1.jar 
  /prebuilts/misc/common/robolectric/3.6.1/lib/
shadows-httpclient-3.6.1.jar 
  /prebuilts/tools/common/bazel/formc-deps/
jdom.jar 
  /prebuilts/tools/common/m2/repository/jdom/jdom/1.0/
jdom-1.0.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-runner/1.1.1/
kotlin-compiler-runner-1.1.1.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-runner/1.1.3/
kotlin-compiler-runner-1.1.3.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-runner/1.1.51/
kotlin-compiler-runner-1.1.51.jar 
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
FormatterTest.java 25 import java.io.IOException;
65 public Appendable append(CharSequence arg0) throws IOException {
69 public Appendable append(char arg0) throws IOException {
74 throws IOException {
106 public Appendable append(char c) throws IOException {
111 throw new IOException();
116 public Appendable append(CharSequence csq) throws IOException {
121 throw new IOException();
127 throws IOException {
132 throw new IOException();
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Scanner.java 134 * java.io.IOException} then the scanner assumes that the end of the input
135 * has been reached. The most recent <tt>IOException</tt> thrown by the
136 * underlying readable can be retrieved via the {@link #ioException} method.
375 // A holder of the last IOException encountered
376 private IOException lastException;
669 * @throws IOException
675 throws IOException
690 * @throws IOException
696 public Scanner(Path source, String charsetName) throws IOException {
700 private Scanner(Path source, Charset charset) throws IOException {
    [all...]
  /prebuilts/tools/common/m2/repository/io/grpc/grpc-okhttp/0.13.2/
grpc-okhttp-0.13.2.jar 

Completed in 797 milliseconds

1 2 3 4