- Sort Score
- Num 10 results
- Language All
Results 431 - 440 of 3,747 for throwIt (0.13 seconds)
-
android/guava/src/com/google/common/collect/ArrayTable.java
return copy; } /** * Not supported. Use {@link #eraseAll} instead. * * @throws UnsupportedOperationException always * @deprecated Use {@link #eraseAll} */ @DoNotCall("Always throws UnsupportedOperationException") @Override @Deprecated public void clear() { throw new UnsupportedOperationException(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 13 19:39:21 GMT 2025 - 26.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
@Nested @DisplayName("readBytesWireFormat tests") class ReadBytesWireFormatTests { @Test @DisplayName("Should read valid structure with size 4") void testReadBytesWireFormatValid() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[10]; int bufferIndex = 2; SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java
} @TaskAction public void checkDependencies() throws IOException, NoSuchAlgorithmException { if (dependencies == null) { throw new GradleException("No dependencies variable defined."); } if (dependencies.isEmpty()) { if (licensesDir.exists()) { throw new GradleException("Licenses dir " + licensesDir + " exists, but there are no dependencies");Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jul 26 12:16:14 GMT 2021 - 14.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
@Override public Metadata read(File input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); return read(Files.newInputStream(input.toPath()), options); } @Override public Metadata read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null");Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.9K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java
throw new IllegalStateException("bad size"); } if (nodeEnv.availableIndexFoldersForPath(nodePath, excludedDirs::contains).size() != 0) { throw new IllegalStateException("bad size"); } } @Benchmark public Set<String> availableIndexFolderNaive() throws IOException { return nodeEnv.availableIndexFoldersForPath(nodePath);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 27 15:29:12 GMT 2021 - 3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
*/ protected Metadata readMetadata(File mappingFile) throws RepositoryMetadataReadException { try (InputStream in = Files.newInputStream(mappingFile.toPath())) { return new Metadata(new MetadataStaxReader().read(in, false)); } catch (FileNotFoundException e) { throw new RepositoryMetadataReadException("Cannot read metadata from '" + mappingFile + "'", e);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 18.9K bytes - Click Count (0) -
src/test/java/jcifs/EncodableTest.java
} @Test @DisplayName("encode() throws when destination too small") void encodeThrowsWhenDestinationTooSmall() { byte[] src = makeSeq(5); Encodable enc = new ByteEncodable(src, 0, 5); byte[] dst = new byte[4]; // too small assertThrows(ArrayIndexOutOfBoundsException.class, () -> enc.encode(dst, 0), "System.arraycopy should throw for insufficient destination space"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
} @Test @DisplayName("close calls release and decrements usage; double release throws") void closeAndReleaseBehavior() { // Validates usage counting and that an extra release() throws RuntimeCIFSException // First close -> usage 1 -> 0, triggers treeConnection.release() handle.close(); verify(treeConnection, times(1)).release();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
} catch (final Exception e) { throw new CurlException("Failed to access the content.", e); } } /** * Gets the content of the response as an InputStream. * * @return the content as an InputStream. * @throws IOException if an I/O error occurs. * @throws CurlException if the content does not exist. */
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 6.8K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
* @param spec string representation of a version or version range * @return a new {@link VersionRange} object that represents the spec * @throws InvalidVersionSpecificationException if invalid version specification */ public static VersionRange createFromVersionSpec(String spec) throws InvalidVersionSpecificationException { if (spec == null) { return null; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 19K bytes - Click Count (0)