- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 1,783 for exception (0.06 seconds)
-
guava/src/com/google/common/collect/Streams.java
Exception exception = null; for (BaseStream<?, ?> stream : toClose) { try { stream.close(); } catch (Exception e) { // sneaky checked exception if (exception == null) { exception = e; } else { exception.addSuppressed(e); } } } if (exception != null) { // Normally this is a RuntimeException that doesn't need sneakyThrow.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 36.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/NoGoalSpecifiedException.java
* under the License. */ package org.apache.maven.lifecycle; /** * Signals a failure to build because no goal was specified. * */ public class NoGoalSpecifiedException extends Exception { /** * Creates a new exception. * * @param message The detail message, may be {@code null}. */ public NoGoalSpecifiedException(String message) { super(message); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/QueuesTest.java
assertEquals(100, buf.size()); assertDrained(q); } } public void testDrainTimesOut() throws Exception { for (BlockingQueue<Object> q : blockingQueues()) { checkDrainTimesOut(q); } } private void checkDrainTimesOut(BlockingQueue<Object> q) throws Exception { for (boolean interruptibly : new boolean[] {true, false}) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
// (the example cycle) as that of the cached exception. PotentialDeadlockException exception = new PotentialDeadlockException( acquiredLock, this, previousDeadlockException.getConflictingStackTrace()); policy.handlePotentialDeadlock(exception); return; }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 35.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
ParameterizedType parameterType = (ParameterizedType) WithWildcardType.class.getDeclaredMethod(methodName, List.class) .getGenericParameterTypes()[0]; return (WildcardType) parameterType.getActualTypeArguments()[0]; } } public void testNewWildcardType() throws Exception {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
this.adder = adder; } @Override @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public int add(int a, int b) { try { return adder.add(a, b); } catch (Exception e) { // sneaky checked exception // swallow! return 0; } } @Override public String toString() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapBuilderTest.java
@J2ktIncompatible private static void reserializeAndAssert(Object object) throws Exception { Object copy = reserialize(object); assertEquals(object, copy); assertEquals(object.getClass(), copy.getClass()); } @GwtIncompatible @J2ktIncompatible private static Object reserialize(Object object) throws Exception { ByteArrayOutputStream bytes = new ByteArrayOutputStream();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/CycleDetectedInPluginGraphException.java
import org.apache.maven.model.Plugin; import org.codehaus.plexus.component.composition.CycleDetectedInComponentGraphException; /** * Exception occurring trying to resolve a plugin. * */ public class CycleDetectedInPluginGraphException extends Exception { private final Plugin plugin; public CycleDetectedInPluginGraphException(Plugin plugin, CycleDetectedInComponentGraphException e) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.api.services; /** * Exception thrown when toolchain factory operations fail. * * <p>This exception wraps errors that occur during toolchain creation or initialization.</p> */ public class ToolchainFactoryException extends MavenException {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
TestSuite.createTest( AggregateFutureStateFallbackAtomicHelperTest.class, method.getName())); } } return suite; } @Override public void runTest() throws Exception { /* * Note that we do not run this test under Android at the moment. For Android testing, see * AggregateFutureStateDefaultAtomicHelperTest. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0)