- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 396 for Throwables (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/io/Files.java
Closer closer = Closer.create(); try { FileInputStream in = closer.register(openStream()); return ByteStreams.toByteArray(in, in.getChannel().size()); } catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } @Override public String toString() { return "Files.asByteSource(" + file + ")"; }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 25 20:24:13 GMT 2025 - 32.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
return res; } /** * {@inheritDoc} * * @see java.lang.Object#finalize() */ @Override protected void finalize() throws Throwable { try { if (isConnected() && this.usageCount.get() != 0) { log.warn("Tree was not properly released, performing emergency cleanup: " + this); emergencyCleanup();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
CountDownLatch completed = new CountDownLatch(1); ScheduledThreadPoolExecutor delegate = new ScheduledThreadPoolExecutor(1) { @Override protected void afterExecute(Runnable r, Throwable t) { completed.countDown(); } }; ListeningScheduledExecutorService service = listeningDecorator(delegate);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 26.5K bytes - Click Count (0) -
guava/src/com/google/common/reflect/Types.java
this.typeVariableImpl = typeVariableImpl; } @Override public @Nullable Object invoke(Object proxy, Method method, @Nullable Object @Nullable [] args) throws Throwable { String methodName = method.getName(); Method typeVariableMethod = typeVariableMethods.get(methodName); if (typeVariableMethod == null) { if (methodName.equals("getAnnotatedBounds")Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
throw new TransferFailedException("Unable to add checksum for unsupported algorithm " + algorithm, e); } } private void handleChecksumFailure(String checksumPolicy, String message, Throwable cause) throws ChecksumFailedException { if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(checksumPolicy)) { throw new ChecksumFailedException(message, cause);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 29.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java
ExceptionHandler handler = new DefaultExceptionHandler(); Map<String, String> references = new LinkedHashMap<>(); List<MavenProject> failedProjects = new ArrayList<>(); for (Throwable exception : result.getExceptions()) { ExceptionSummary summary = handler.handleException(exception); logSummary(context, summary, references, "");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 11 17:20:46 GMT 2025 - 28.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
} finally { currentThread.setContextClassLoader(originalContextClassLoader); } } private MavenExecutionResult addExceptionToResult(MavenExecutionResult result, Throwable e) { if (!result.getExceptions().contains(e)) { result.addException(e); } return result; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon May 05 16:58:52 GMT 2025 - 28.7K bytes - Click Count (1) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertFreshInstanceReturned( ArrayList.class, HashMap.class, Appendable.class, StringBuilder.class, StringBuffer.class, Throwable.class, Exception.class); } public void testGet_io() throws IOException { assertEquals(-1, ArbitraryInstances.get(InputStream.class).read());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 22.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Verify the actual cause is SMBProtocolDecodingException assertTrue(exception instanceof java.lang.reflect.InvocationTargetException, "Should be wrapped in InvocationTargetException"); Throwable cause = exception.getCause(); assertTrue(cause instanceof SMBProtocolDecodingException, "Actual cause should be SMBProtocolDecodingException");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
assertFreshInstanceReturned( ArrayList.class, HashMap.class, Appendable.class, StringBuilder.class, StringBuffer.class, Throwable.class, Exception.class); } public void testGet_io() throws IOException { assertEquals(-1, ArbitraryInstances.get(InputStream.class).read());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 22.2K bytes - Click Count (0)