- Sort Score
- Result 10 results
- Languages All
Results 471 - 480 of 3,054 for throws (0.07 sec)
-
samples/guide/src/main/java/okhttp3/recipes/ParseResponseWithMoshi.java
private final JsonAdapter<Gist> gistJsonAdapter = moshi.adapter(Gist.class); public void run() throws Exception { Request request = new Request.Builder() .url("https://api.github.com/gists/c2a7c39532239ff261be") .build(); try (Response response = client.newCall(request).execute()) { if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Prompter.java
* @throws PrompterException if an exception occurs */ @Nonnull String promptForPassword(@Nullable String message) throws PrompterException; /** * Displays a message to the user. * * @param message the message to display * @throws PrompterException if an exception occurs */ void showMessage(@Nullable String message) throws PrompterException;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Nov 17 15:52:15 UTC 2023 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
throws InterruptedException { Preconditions.checkNotNull(tasks, "tasks must not be null!"); return delegate.invokeAll(tasks); } @Override public <T> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
throws InterruptedException { Preconditions.checkNotNull(tasks, "tasks must not be null!"); return delegate.invokeAll(tasks); } @Override public <T> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
@Override public InputStream getContentAsStream() throws IOException { return new FileInputStream(testFile); } @Override public void close() throws IOException { // Nothing to close } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java
* * @param is the input stream (must not be {@literal null}) * @return {@link JarInputStream} * @throws IORuntimeException if an {@link IOException} occurs * @see JarInputStream#JarInputStream(InputStream) */ public static JarInputStream create(final InputStream is) throws IORuntimeException { assertArgumentNotNull("is", is); try { return new JarInputStream(is);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
} public void testOpenBufferedStream() throws IOException { Writer writer = sink.openBufferedStream(); assertTrue(sink.wasStreamOpened()); assertFalse(sink.wasStreamClosed()); writer.write(STRING); writer.close(); assertTrue(sink.wasStreamClosed()); assertEquals(STRING, sink.getString()); } public void testWrite_string() throws IOException { assertEquals("", sink.getString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
public void testReadLines_toList() throws IOException { assertExpectedLines(source.readLines()); } public void testIsEmpty() throws IOException { assertEquals(expected.isEmpty(), source.isEmpty()); } public void testLength() throws IOException { assertEquals(expected.length(), source.length()); } public void testLengthIfKnown() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @param data the data to compress * @param algorithm the compression algorithm to use * @return the compressed data * @throws CIFSException if compression fails */ byte[] compress(byte[] data, int algorithm) throws CIFSException; /** * Compresses data using the specified algorithm with offset and length. * * @param data the data buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* * <p><b>Java 8+ users:</b> use {@link Long#parseUnsignedLong(String)} instead. * * @throws NumberFormatException if the string does not contain a valid unsigned {@code long} * value * @throws NullPointerException if {@code string} is null (in contrast to {@link * Long#parseLong(String)}) */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0)