- Sort Score
- Num 10 results
- Language All
Results 1081 - 1090 of 3,282 for throwIt (0.05 seconds)
-
guava/src/com/google/common/collect/ImmutableEnumSet.java
Object writeReplace() { return new EnumSerializedForm<E>(delegate); } @J2ktIncompatible // serialization private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } /* * This class is used to serialize ImmutableEnumSet instances. */ @J2ktIncompatible // serialization
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
@Override public Object invoke(Object target, Method method, Object[] args) throws Throwable { assertTrue("setUp should have run", setUpRan.get()); try { return method.invoke(map, args); } catch (InvocationTargetException e) { throw e.getCause(); } catch (IllegalAccessException e) { throw newLinkageError(e); } } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 22 16:18:11 GMT 2025 - 11.8K bytes - Click Count (0) -
guava/src/com/google/common/graph/AbstractNetwork.java
checkNotNull(endpoints); if (!isOrderingCompatible(endpoints)) { return false; } return hasEdgeConnecting(endpoints.nodeU(), endpoints.nodeV()); } /** * Throws an IllegalArgumentException if the ordering of {@code endpoints} is not compatible with * the directionality of this graph. */ protected final void validateEndpoints(EndpointPair<?> endpoints) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
*/ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Expected structureSize = 9"); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
public void storeInLocalRepository(ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataStoreException { try { updateRepositoryMetadata(localRepository, remoteRepository); } catch (IOException | XMLStreamException e) { throw new RepositoryMetadataStoreException("Error updating group repository metadata", e); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 7.2K bytes - Click Count (0) -
guava/src/com/google/common/hash/HashCode.java
* {@code int} value in little-endian order. * * @throws IllegalStateException if {@code bits() < 32} */ public abstract int asInt(); /** * Returns the first eight bytes of {@linkplain #asBytes() this hashcode's bytes}, converted to a * {@code long} value in little-endian order. * * @throws IllegalStateException if {@code bits() < 64} */ public abstract long asLong();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
// inclusive. // // Note: According to the spec, a NumberFormatException is thrown for a number that is not // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix. // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case // (which seems to make more sense). try {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/Config.java
* @throws IOException if an I/O error occurs */ public static void store(final OutputStream out, final String header) throws IOException { prp.store(out, header); } /** * List the properties in the <code>Config</code>. * * @param out the print stream to write the properties to * @throws IOException if an I/O error occurs */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeTest.java
* Verifies that unwrap can throw exceptions when appropriate. */ @Test void testUnwrap_throwsException() { when(smbTree.unwrap(any())).thenThrow(new ClassCastException("Cannot unwrap to specified type")); assertThrows(ClassCastException.class, () -> smbTree.unwrap(CustomSmbTree.class), "Should throw ClassCastException when type is incompatible"); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* <b>Warning:</b> the funnel provided <b>must</b> behave identically to the one used to populate * the original Bloom filter! * * @throws IOException if the InputStream throws an {@code IOException}, or if its data does not * appear to be a BloomFilter serialized using the {@linkplain #writeTo(OutputStream)} method. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 19:23:59 GMT 2025 - 26.9K bytes - Click Count (0)