Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 834 for onerror (0.06 sec)

  1. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            Throwable cause = new RuntimeException("Runtime error");
            CommandExecutionException exception = new CommandExecutionException(null, cause);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertEquals(cause, exception.getCause());
            assertEquals("Runtime error", exception.getCause().getMessage());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/ndr/NdrException.java

        /**
         * Error message for invalid array conformance.
         */
        public static final String INVALID_CONFORMANCE = "invalid array conformance";
    
        /**
         * Constructs an NdrException with the specified error message.
         *
         * @param msg the error message
         */
        public NdrException(final String msg) {
            super(msg);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (1)
  3. android/guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

            };
        addCallback(f, callback, directExecutor());
        f.cancel(true);
      }
    
      public void testThrowErrorFromGet() {
        Error error = new AssertionError("ASSERT!");
        ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error);
        MockCallback callback = new MockCallback(error);
        addCallback(f, callback, directExecutor());
      }
    
      public void testRuntimeExceptionFromGet() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

          setException(e);
          return;
        } catch (Error e) {
          /*
           * StackOverflowError, OutOfMemoryError (e.g., from allocating ExecutionException), or
           * something. Try to treat it like a RuntimeException. If we overflow the stack again, the
           * resulting Error will propagate upward up to the root call to set().
           */
          setException(e);
          return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/NbtExceptionTest.java

        @Test
        @DisplayName("getErrorString for name service error with known code")
        void testNameServiceKnown() {
            String expected = "ERR_NAM_SRVC/FMT_ERR: Format ErrorUnknown error code: 1";
            assertEquals(expected, NbtException.getErrorString(NbtException.ERR_NAM_SRVC, NbtException.FMT_ERR));
        }
    
        @Test
        @DisplayName("getErrorString for name service error with unknown code")
        void testNameServiceUnknown() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ReusePlan.kt

    ) : RoutePlanner.Plan {
      override val isReady = true
    
      override fun connectTcp() = error("already connected")
    
      override fun connectTlsEtc() = error("already connected")
    
      override fun handleSuccess() = connection
    
      override fun cancel() = error("unexpected cancel")
    
      override fun retry() = error("unexpected retry")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/exception/SsoMessageException.java

     * and localization purposes, as well as detailed error information. The message code
     * can be used by the UI layer to display appropriate error messages to users.
     */
    public class SsoMessageException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /** The message code for internationalized error messages. */
        private final transient VaMessenger<FessMessages> messageCode;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                    callCount++;
                    throw new RuntimeException("Error " + callCount);
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // First execution
            String result1 = aggregateLogJob.execute();
            assertNotNull(result1);
            assertTrue(result1.contains("Error 1"));
    
            // Second execution
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            // Create a root cause exception
            String rootCauseMessage = "Root cause error";
            Exception rootCause = new Exception(rootCauseMessage);
    
            // Create a ServletException with the root cause
            String servletErrorMessage = "Servlet error with cause";
            ServletException servletException = new ServletException(servletErrorMessage, rootCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/job/PurgeLogJob.java

                }
            } catch (final Exception e) {
                logger.error("Failed to purge user info.", e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            // update job logs
            try {
                jobLogService.updateStatus();
            } catch (final Exception e) {
                logger.error("Failed to purge job logs.", e);
                resultBuf.append(e.getMessage()).append("\n");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top