- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 2,692 for Exception (0.05 seconds)
-
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java
result.setVersion(subResult.getVersion()); result.setRepository(subResult.getRepository()); for (Exception exception : subResult.getExceptions()) { result.addException(exception); } } } else { String key = SNAPSHOT + getKey(artifact.getClassifier(), artifact.getExtension());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
assertFalse(response.isReceived()); // Should not be marked as received } @Test @DisplayName("Should handle exception") void testException() { Exception testException = new Exception("Test exception"); response.exception(testException); assertTrue(response.isError()); assertTrue(response.isReceived());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
*/ @Deprecated(since = "4.0.0") public class ToolchainsBuildingException extends Exception { private final List<Problem> problems; /** * Creates a new exception with the specified problems. * * @param problems The problems that cause this exception, must not be {@code null}. */ public ToolchainsBuildingException(List<Problem> problems) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
f.setAccessible(true); f.set(c, val); } catch (Exception e) { throw new AssertionError(e); } } // Helper to build a minimal smb URL private static URL smbUrl(String spec) throws Exception { return new URL(null, spec, new Handler()); } @Test @DisplayName("getConfig returns context config")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
assertEquals(mockConfig, config, "Should return the mock Configuration object"); } /** * Test for close() method. * Verifies that the close method can be called without throwing an exception. * @throws CIFSException */ @Test void testClose() throws CIFSException { smbTreeHandle.close(); // Verify that close() was called on the mock verify(smbTreeHandle).close();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java
import com.google.common.annotations.GwtCompatible; /** Exception classes for use in tests. */ @GwtCompatible final class TestExceptions { static final class SomeError extends Error {} static final class SomeCheckedException extends Exception {} static final class SomeOtherCheckedException extends Exception {} static final class YetAnotherCheckedException extends Exception {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TestExceptions.java
import org.jspecify.annotations.NullUnmarked; /** Exception classes for use in tests. */ @GwtCompatible @NullUnmarked final class TestExceptions { static class SomeError extends Error {} static class SomeCheckedException extends Exception {} static class SomeOtherCheckedException extends Exception {} static class YetAnotherCheckedException extends Exception {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* parameter, or if the constructor or factory method throws exception. * * @return this tester */ @CanIgnoreReturnValue @SuppressWarnings("CatchingUnchecked") // sneaky checked exception public FactoryMethodReturnValueTester testSerializable() throws Exception { for (Invokable<?, ?> factory : getFactoriesToTest()) { Object instance = instantiate(factory);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverException.java
private final ArtifactResolverResult result; /** * @param message the message for the exception * @param e the exception itself * @param result the resolution result containing detailed information */ public ArtifactResolverException(String message, Exception e, ArtifactResolverResult result) { super(message, e); this.result = result; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 21:57:56 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java
import org.codelibs.fess.crawler.entity.UrlQueue; import org.codelibs.fess.crawler.exception.CrawlingAccessException; import org.codelibs.fess.crawler.exception.MultipleCrawlingAccessException; import org.codelibs.fess.crawler.helper.impl.LogHelperImpl; import org.codelibs.fess.crawler.log.LogType; import org.codelibs.fess.exception.ContainerNotAvailableException; import org.codelibs.fess.helper.CrawlerStatsHelper.StatsAction;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 8.3K bytes - Click Count (0)