Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,097 for onerror (0.04 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            assertThrows(PACDecodingException.class, () -> new KerberosToken(malformedToken));
        }
    
        /**
         * Test constructor with a token that has an incorrect OID.
         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithWrongOid() throws IOException {
            byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/exception/InvalidQueryException.java

        /** Message code for localized error messages */
        private final transient VaMessenger<FessMessages> messageCode;
    
        /**
         * Creates a new InvalidQueryException with message code, message, and cause.
         *
         * @param messageCode the message code for localized error messages
         * @param message the detailed error message
         * @param cause the cause of the exception
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            String locationHint = "testLocation";
            Throwable error = new RuntimeException("testError");
            when(mockDelegate.renewCredentials(locationHint, error)).thenReturn(true);
            assertTrue(cifsContextWrapper.renewCredentials(locationHint, error));
            verify(mockDelegate).renewCredentials(locationHint, error);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

                    throw new RuntimeException("IO error occurred during delete operation");
                }
            };
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
    
            // Execute the job
            String result = purgeDocJob.execute();
    
            // Assert error message is in the result
            assertTrue(result.contains("IO error occurred during delete operation"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FailedPlan.kt

      override val isReady = false
    
      override fun connectTcp() = result
    
      override fun connectTlsEtc() = result
    
      override fun handleSuccess() = error("unexpected call")
    
      override fun cancel() = error("unexpected cancel")
    
      override fun retry() = error("unexpected retry")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaErrorHandler.java

         * @param error the error that occurred
         * @return true if error was handled and connection recovered, false if fallback needed
         */
        public boolean handleRdmaError(RdmaConnection connection, Exception error) {
            log.warn("RDMA error occurred: {}", error.getMessage());
            statistics.recordError();
    
            if (isRecoverableError(error)) {
                return attemptRecovery(connection, error);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValve.java

    import org.apache.catalina.valves.ErrorReportValve;
    
    /**
     * This class is a valve to suppress error reports.
     * It extends {@link ErrorReportValve} and disables the display of
     * error reports and server information.
     */
    public class SuppressErrorReportValve extends ErrorReportValve {
        /**
         * Constructs a new valve to suppress error reports.
         */
        public SuppressErrorReportValve() {
            setShowReport(false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            String message = "Storage error: \n\t\r\"'<>&";
            StorageException exception = new StorageException(message);
    
            assertEquals(message, exception.getMessage());
        }
    
        public void test_differentCauseTypes() {
            // Test with different types of causes
            StorageException exception1 = new StorageException("IO Error", new java.io.IOException("File not found"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. 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)
  10. android/guava/src/com/google/common/io/Files.java

       * @param to the output stream
       * @throws IOException if an I/O error occurs
       */
      public static void copy(File from, OutputStream to) throws IOException {
        asByteSource(from).copyTo(to);
      }
    
      /**
       * Copies all the bytes from one file to another.
       *
       * <p>Copying is not an atomic operation - in the case of an I/O error, power loss, process
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top