- Sort Score
- Num 10 results
- Language All
Results 1381 - 1390 of 1,871 for rethrow (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
// Add some padding for (int i = 0; i < 300; i++) { dos.writeByte(0); } return baos.toByteArray(); } catch (IOException e) { throw new PACDecodingException("Failed to create test data", e); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
Map<Path, Document> pomMap = new HashMap<>(); // Find and load the root POM Path rootPomPath = startDirectory.resolve(POM_XML); if (!Files.exists(rootPomPath)) { throw new IOException("No pom.xml found in directory: " + startDirectory); } Document rootPom = loadPom(rootPomPath); pomMap.put(rootPomPath, rootPom); // Recursively discover modules
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
try { getList().subList(1, 0); fail("subList(1, 0) should throw"); } catch (IndexOutOfBoundsException expected) { } catch (IllegalArgumentException expected) { /* * The subList() docs claim that this should be an * IndexOutOfBoundsException, but many JDK implementations throw * IllegalArgumentException: * https://bugs.openjdk.org/browse/JDK-4506427 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
try { getList().subList(1, 0); fail("subList(1, 0) should throw"); } catch (IndexOutOfBoundsException expected) { } catch (IllegalArgumentException expected) { /* * The subList() docs claim that this should be an * IndexOutOfBoundsException, but many JDK implementations throw * IllegalArgumentException: * https://bugs.openjdk.org/browse/JDK-4506427 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
@Override public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
@Override public String load(String key) throws InterruptedException { int behavior = random.nextInt(4); if (behavior == 0) { // throw an exception exceptionCount.incrementAndGet(); throw new RuntimeException("fake exception for test"); } else if (behavior == 1) { // return null computeNullCount.incrementAndGet(); return null;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
src/main/java/jcifs/http/NetworkExplorer.java
sb.append(new String(buf, 0, n, "ISO8859_1")); } this.style = sb.toString(); } } catch (final IOException ioe) { throw new ServletException(ioe.getMessage()); } this.enableBasic = Config.getBoolean(p, "jcifs.http.enableBasic", false);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 23.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
public void testMemoryBasedCacheClose() throws IOException { byte[] data = "Hello, World!".getBytes(); ContentCache cache = new ContentCache(data); // Memory-based cache close should not throw exception cache.close(); // Should still be able to get input stream after close for memory cache try (InputStream stream = cache.getInputStream()) { assertNotNull(stream);
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotEmpty("path", path); final URL url = getResourceNoException(path, extension); if (url != null) { return url; } throw new ResourceNotFoundRuntimeException(getResourcePath(path, extension)); } /** * Returns the resource from the context class loader. Returns <code>null</code> if not found. * * @param path
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 14.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFileOutputStream.java
treq.setFileInformation(new FileEndOfFileInformation(0)); th.send(treq, RequestParam.NO_RETRY); } } } catch (final CIFSException e) { throw SmbException.wrap(e); } } SmbFileOutputStream(final SmbFile file, final SmbTreeHandleImpl th, final SmbFileHandleImpl handle, final int openFlags,
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.8K bytes - Click Count (0)