- Sort Score
- Result 10 results
- Languages All
Results 1081 - 1090 of 2,976 for throw (0.02 sec)
-
guava/src/com/google/common/io/ByteArrayDataOutput.java
import java.io.DataOutput; import java.io.IOException; /** * An extension of {@code DataOutput} for writing to in-memory byte arrays; its methods offer * identical functionality but do not throw {@link IOException}. * * @author Jayaprabhakar Kadarkarai * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public interface ByteArrayDataOutput extends DataOutput { @Override void write(int b);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
} try { securityDescriptor = new SecurityDescriptor(); bufferIndex += securityDescriptor.decode(buffer, bufferIndex, len); } catch (final IOException ioe) { throw new RuntimeException(ioe.getMessage()); } return bufferIndex - start; } @Override public String toString() { return ("NtTransQuerySecurityResponse[" + super.toString() + "]");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
* buildOrThrow(), or vice versa. So in particular, if we modify alternatingKeysAndValues to * eliminate duplicate keys (for buildKeepingLast()) then we have to ensure that a later call to * buildOrThrow() will still throw as if the duplicates had not been eliminated. And the exception * message must mention two values that were associated with the duplicate key in two different
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
referralData.setKey("key"); // Should not throw exception referralData.replaceCache(); } @Test @DisplayName("Should not replace cache when key is null") void testReplaceCacheWithNullKey() { referralData.setCacheMap(cacheMap); // Should not throw exception referralData.replaceCache();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ParseRequest.java
private ParseRequest(String rawValue, int radix) { this.rawValue = rawValue; this.radix = radix; } static ParseRequest fromString(String stringValue) { if (stringValue.length() == 0) { throw new NumberFormatException("empty string"); } // Handle radix specifier if present String rawValue; int radix; char firstChar = stringValue.charAt(0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
String errorMsg = response != null ? response.getError() : "Response was null"; throw new IOException("Witness registration failed: " + errorMsg); } } catch (Exception e) { log.error("Failed to register for witness notifications", e); throw new RuntimeException(e); } }); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
void testReadOperationsWithNullBuffer() { // Read operations return 0 when given null buffer - no exceptions thrown assertEquals(0, response.readSetupWireFormat(null, 0, 0)); assertEquals(0, response.readParametersWireFormat(null, 0, 0)); // readDataWireFormat will throw when accessing null buffer assertThrows(NullPointerException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
RandomHasherAction.pickAtRandom(random).performAction(random, sinksAndControl); } // We need to ensure that at least 4 bytes have been put into the hasher or else // Hasher#hash will throw an ISE. int intToPut = random.nextInt(); for (Hasher hasher : sinksAndControl) { hasher.putInt(intToPut); } for (Sink sink : sinks) { HashCode unused = sink.hash();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java
} public void test_throwAndCatch() { // Test throwing and catching the exception String componentName = "cacheManager"; try { throw new ContainerNotAvailableException(componentName); } catch (ContainerNotAvailableException e) { assertEquals(componentName + " is not available.", e.getMessage()); assertNull(e.getCause());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
public int problemsReportedFor(BuilderProblem.Severity... severities) { return 0; } @Override public boolean reportProblem(P problem) { throw new IllegalStateException("empty problem collector"); } @Override public Stream<P> problems(BuilderProblem.Severity severity) { return Stream.empty();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 18 17:30:19 UTC 2025 - 11.4K bytes - Viewed (0)