- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 2,310 for rethrow (0.05 seconds)
-
src/main/java/jcifs/util/PathValidator.java
*/ public String validatePath(String path) throws SmbException { if (path == null || path.isEmpty()) { throw new SmbException("Path cannot be null or empty"); } // Check length if (path.length() > maxPathLength) { throw new SmbException("Path exceeds maximum length: " + path.length() + " > " + maxPathLength); } // Check for null bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
val privateHost = isPrivateHost(hostname) if (privateHost && !resolvePrivateAddresses) { throw UnknownHostException("private hosts not resolved") } if (!privateHost && !resolvePublicAddresses) { throw UnknownHostException("public hosts not resolved") } } return lookupHttps(hostname) } @Throws(UnknownHostException::class)
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) -
guava/src/com/google/common/base/Preconditions.java
@Nullable Object p4) { if (reference == null) { throw new NullPointerException(Platform.lenientFormat(errorMessageTemplate, p1, p2, p3, p4)); } return reference; } /* * All recent hotspots (as of 2009) *really* like to have the natural code * * if (guardExpression) { * throw new BadException(messageExpression); * } *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 08 18:10:02 GMT 2026 - 53.5K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graph.java
* {@code view} returned by this method will be invalidated, and will throw {@code * IllegalStateException} if it is accessed in any way, with the following exceptions: * * <ul> * <li>{@code view.equals(view)} evaluates to {@code true} (but any other {@code equals()} * expression involving {@code view} will throw) * <li>{@code hashCode()} does not throwCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 13.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
if (src == null || dst == null) { throw new IllegalArgumentException("Arrays cannot be null"); } if (srcOffset < 0 || dstOffset < 0 || length < 0) { throw new IllegalArgumentException("Offsets and length must be non-negative"); } if (srcOffset + length > src.length) { throw new IllegalArgumentException(
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
failedValidations.incrementAndGet(); throw new SmbException("Negative offset: " + offset); } if (length < 0) { failedValidations.incrementAndGet(); throw new SmbException("Negative length: " + length); } if (fileSize < 0) { failedValidations.incrementAndGet(); throw new SmbException("Invalid file size: " + fileSize); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
log.trace("Failed to send nameservice request for " + name.name, ioe); } throw new UnknownHostException(name.name); } catch (final IOException ioe) { log.info("Failed to send nameservice request for " + name.name, ioe); throw new UnknownHostException(name.name); } if (response.received && response.resultCode == 0) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0)