Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 2,379 for Exception (0.06 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            Plugin plugin = new Plugin();
            Exception cause = new PluginContainerException(plugin, null, null, cause2);
            PluginDescriptor pluginDescriptor = new PluginDescriptor();
            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            mojoDescriptor.setPluginDescriptor(pluginDescriptor);
            MojoExecution mojoExecution = new MojoExecution(mojoDescriptor);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NbtExceptionTest.java

            NbtException exception = new NbtException(errorClass, errorCode);
    
            assertEquals(errorClass, exception.errorClass, "Error class should match the constructor argument");
            assertEquals(errorCode, exception.errorCode, "Error code should match the constructor argument");
            assertEquals(NbtException.getErrorString(errorClass, errorCode), exception.getMessage(),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            String reference = "";
            if (!dejaVu.add(exception)) {
                return reference;
            }
    
            if (exception != null) {
                if (exception instanceof MojoExecutionException) {
                    reference = MojoExecutionException.class.getSimpleName();
    
                    Throwable cause = exception.getCause();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        // Check if there are any stored exceptions for this project
                        List<Throwable> failures = null;
                        boolean allStepsExecuted = true;
                        for (BuildStep projectStep : plan.steps(step.project).toList()) {
                            Exception exception = projectStep.exception;
                            if (exception != null) {
                                if (failures == null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 55.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                assertNull(unwrapped);
            }
        }
    
        @Nested
        @DisplayName("Exception handling tests")
        class ExceptionHandlingTests {
    
            @Test
            @DisplayName("doEnum rethrows CIFSException when not UnknownHostException")
            void doEnum_rethrowsCIFSException_whenNotUnknownHost() throws Exception {
                // Arrange
                SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/exception/ScheduledJobException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when a scheduled job fails.
     */
    public class ScheduledJobException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
         * @param message Exception message.
         * @param cause Root cause for this exception.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (1)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            }
        }
    
        public void test_cleanup() throws Exception {
            final String sessionId = crawler.getSessionId();
    
            // Add some test data
            crawler.addUrl("http://example.com/");
    
            // Perform cleanup - should not throw exception
            crawler.cleanup(sessionId);
        }
    
        public void test_stop() throws Exception {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Tue Nov 11 13:40:14 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(5, buffer, bufferIndex); // Invalid structure size
    
                // When & Then
                SMBProtocolDecodingException exception =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/collection/EnumerationIteratorTest.java

            assertThat(itr.next(), is("a"));
            assertThat(itr.hasNext(), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testRemove() throws Exception {
            exception.expect(ClUnsupportedOperationException.class);
            exception.expectMessage(is("remove"));
            final Vector<String> vector = new Vector<String>();
            vector.add("a");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

        }
      }
      if (exception != null) {
        throw exception
      }
    }
    
    internal fun <E> MutableList<E>.addIfAbsent(element: E) {
      if (!contains(element)) add(element)
    }
    
    internal fun Exception.withSuppressed(suppressed: List<Exception>): Throwable =
      apply {
        for (e in suppressed) addSuppressed(e)
      }
    
    internal inline fun <T> Iterable<T>.filterList(predicate: T.() -> Boolean): List<T> {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top