- Sort Score
- Num 10 results
- Language All
Results 1121 - 1130 of 3,804 for throws (0.04 seconds)
-
android/guava/src/com/google/common/io/CountingOutputStream.java
@Override public void write(byte[] b, int off, int len) throws IOException { out.write(b, off, len); count += len; } @Override public void write(int b) throws IOException { out.write(b); count++; } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior: // it silently ignores any exception thrown by flush(). Instead, just close the delegate stream.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java
* @return module name of the dependency at the given path, or empty if the dependency is not modular * @throws IOException if the module information of the specified dependency cannot be read */ Optional<String> getModuleName(@Nonnull Path dependency) throws IOException; /** * Returns the Java module descriptor of the dependency at the given path.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/EnumMultiset.java
} /** * Returns {@code element} cast to {@code E}, if it actually is a nonnull E. Otherwise, throws * either a NullPointerException or a ClassCastException as appropriate. */ private void checkIsE(Object element) { checkNotNull(element); if (!isActuallyE(element)) { throw new ClassCastException("Expected an " + type + " but got " + element); } } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.3K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
return baos.toByteArray(); } private byte[] calculateBindingHash(byte[] bindingInfo) throws IOException { try { MessageDigest digest = MessageDigest.getInstance("SHA-256"); return digest.digest(bindingInfo); } catch (NoSuchAlgorithmException e) { throw new IOException("SHA-256 not available", e); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
* @return the actual version string with timestamp and build number, or null if not found * @throws SAXException if XML parsing fails * @throws IOException if I/O error occurs */ protected String getSnapshotActualVersion(final DocumentBuilder builder, final String pluginUrl, final String version) throws SAXException, IOException { String timestamp = null; String buildNumber = null;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Mar 04 15:19:41 GMT 2026 - 25.1K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception { RequestBody requestBody = new RequestBody() { @Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException { sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n");
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Jul 06 03:18:15 GMT 2018 - 2.1K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
} } } @Throws(UnknownHostException::class) private fun throwBestFailure( hostname: String, failures: List<Exception>, ): List<InetAddress> { if (failures.isEmpty()) { throw UnknownHostException(hostname) } val failure = failures[0] if (failure is UnknownHostException) { throw failure }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 8.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
} } throw new CrawlingAccessException("Invalid path: " + path); } /** * Retrieves response data for the specified URI. * @param uri the URI to retrieve data for * @param includeContent whether to include the actual content in the response * @return the response data containing metadata and optionally contentCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 17.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
public static ArtifactRepository buildArtifactRepository(org.apache.maven.settings.Repository repo) throws InvalidRepositoryException { return buildArtifactRepository(fromSettingsRepository(repo)); } public static ArtifactRepository buildArtifactRepository(org.apache.maven.model.Repository repo) throws InvalidRepositoryException { if (repo != null) { String id = repo.getId();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 33.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
* @return initialized Mac instance * @throws GeneralSecurityException if Mac cannot be created */ private Mac createMacInstance() throws GeneralSecurityException { if (this.closed) { throw new IllegalStateException("SigningDigest is closed"); } if (this.signingKey == null) { throw new IllegalStateException("Signing key has been wiped"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0)