- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,327 for Exceptions (0.05 sec)
-
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
RuntimeException exception = new RuntimeException(); T proxy = Reflection.newProxy( interfaceType, new AbstractInvocationHandler() { @Override protected Object handleInvocation(Object p, Method m, @Nullable Object[] args) throws Throwable { throw exception; } });
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java
import org.apache.maven.artifact.repository.ArtifactRepository; import org.apache.maven.artifact.repository.ArtifactRepositoryPolicy; /** * Base class for artifact resolution exceptions. * */ public class AbstractArtifactResolutionException extends Exception { private String groupId; private String artifactId; private String version; private String type; private String classifier;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Apr 01 21:22:14 UTC 2025 - 10.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
void shouldHandleMissingPomGracefully() throws Exception { // No POM file in the directory UpgradeContext context = TestUtils.createMockContext(tempDir); // Execute apply goal applyGoal.execute(context); // Should handle gracefully (exact behavior depends on implementation) // This test mainly verifies no exceptions are thrown } @Test
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertNotSame(supplied, got, "Zero-sized cache must not return the released instance"); } // Edge: releasing null must be a no-op without exceptions @Test @DisplayName("releaseBuffer(null) is a no-op and does not throw") void releaseNullIsNoop() { BufferCacheImpl impl = new BufferCacheImpl(1, 4);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
@Override public void remove() { // Wrong exception type. throw new IllegalArgumentException(); } @Override public Integer next() { // Wrong exception type. throw new UnsupportedOperationException(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 10.3K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
} while (!buffer.exhausted()) { val exception = buffer.readUtf8LineStrict() assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(exception)).isEqualTo( exception, ) val test = "foobar.$exception" assertThat(publicSuffixDatabase.getEffectiveTldPlusOne(test)).isEqualTo(exception) } } @Test fun threadIsInterruptedOnFirstRead() {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 22:00:49 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
RuntimeException exception = new RuntimeException(); T proxy = Reflection.newProxy( interfaceType, new AbstractInvocationHandler() { @Override protected Object handleInvocation(Object p, Method m, @Nullable Object[] args) throws Throwable { throw exception; } });
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ListenerCallQueue.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
}, StringIndexOutOfBoundsException.class)); } @ParameterizedTest(name = "{0}") @MethodSource("invalidBuffers") @DisplayName("Invalid buffers throw appropriate exceptions") void invalidInputsThrow(String name, Object bufferSupplierOrBytes, Class<? extends Throwable> expected) { // Arrange byte[] buf; if (bufferSupplierOrBytes instanceof byte[]) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
verify(fd, never()).markClosed(); } @Test @DisplayName("available() wraps SmbException to IOException") void available_wrapsException() throws Exception { // Verify exceptions from th.send are converted to IOException via seToIoe SmbPipeInputStream stream = newStreamWithMinimalStubs(true); when(handle.ensureOpen()).thenReturn(fd);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0)