Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,867 for exception (0.1 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/cache/MavenExecutionException.java

     */
    package org.apache.maven.api.cache;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * Exception thrown when an error occurs during Maven execution.
     * This exception wraps the original cause of the execution failure.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MavenExecutionException extends MavenException {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexResponseTest.java

            assertEquals(0, response.getErrors().size());
        }
    
        @Test
        public void test_constructorWithErrors() throws Exception {
            List<Throwable> errors = new ArrayList<>();
            errors.add(new Exception("Test error 1"));
            errors.add(new Exception("Test error 2"));
    
            SuggestIndexResponse response = new SuggestIndexResponse(10, 5, errors, 100);
    
            assertNotNull(response);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Nov 13 00:40:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            runner.ensureYellow();
        }
    
        @AfterClass
        public static void afterClass() throws Exception {
            runner.close();
            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            runner.admin().indices().prepareDelete("_all").execute().actionGet();
            runner.refresh();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.ChildUrlsException;
    import org.codelibs.fess.crawler.exception.CrawlerSystemException;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.exception.MaxLengthExceededException;
    import org.codelibs.fess.crawler.helper.ContentLengthHelper;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  5. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        @BeforeEach
        void setUp() throws Exception {
            testDirectory = new File(getBasedir(), BASE_POM_DIR);
            new File(getBasedir(), BASE_MIXIN_DIR);
            EmptyLifecycleBindingsInjector.useEmpty();
        }
    
        /**
         * Will throw exception if url is empty. MNG-4050
         *
         * @throws Exception in case of issue
         */
        @Test
        void testEmptyUrl() throws Exception {
            buildPom("empty-distMng-repo-url");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

            DcerpcException exception = new DcerpcException(message, cause);
    
            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message and cause constructor.");
            assertEquals(message, exception.getMessage(), "Message should match the input.");
            assertEquals(cause, exception.getCause(), "Cause should match the input.");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            when(response.getHeaderStart()).thenReturn(0);
    
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class,
                    () -> response.readBytesWireFormat(buffer, bufferIndex), "Should throw exception for unknown quota info class");
    
            assertTrue(exception.getMessage().contains("Unknown quota info class"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            assertNotNull(errorHandler, "Error handler should not be null");
    
            // Test error classification for different exception types
            Exception hardwareError = new RuntimeException("RDMA hardware not supported");
            Exception networkError = new java.io.IOException("Network connection failed");
            Exception timeoutError = new java.net.SocketTimeoutException("Operation timed out");
    
            // Test fallback logic
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacCredentialTypeTest.java

         * Tests the constructor with a null byte array, which should throw an exception.
         */
        @Test
        void testConstructorWithNullData() {
            // A null byte array should cause a PACDecodingException.
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      public void testNoEqualsChecksOnEnum() throws Exception {
        tester.testEquals(OneConstantEnum.class);
        tester.testEquals(NoConstantEnum.class);
        tester.testEquals(TimeUnit.class);
      }
    
      public void testNoEqualsChecksOnInterface() throws Exception {
        tester.testEquals(Runnable.class);
      }
    
      public void testNoEqualsChecksOnAnnotation() throws Exception {
        tester.testEquals(MyAnnotation.class);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.3K bytes
    - Viewed (0)
Back to top