Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 1,140 for match1 (0.14 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt

        assertThat(cs.hashCode(), cs.toString())
          .isEqualTo(System.identityHashCode(cs))
      }
    
      @Test
      fun hashCode_usesIdentityHashCode_regularCase() {
        // This one's javaName matches the identifier.
        val cs = CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA256
        assertThat(cs.hashCode(), cs.toString())
          .isEqualTo(System.identityHashCode(cs))
      }
    
      @Test
      fun instancesAreInterned() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            try {
                provider.provide(null);
                fail("Should throw exception for null classification name");
            } catch (ProvidedClassificationNotFoundException e) {
                // expected
                assertTrue(e.getMessage().contains("Not found the classification: null"));
            } catch (NullPointerException e) {
                // Also acceptable if null is not handled explicitly
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

        }
    
        public void test_throwAndCatch() {
            // Test throwing and catching the exception
            String message = "Throw and catch test";
    
            try {
                throw new SearchEngineClientException(message);
            } catch (SearchEngineClientException e) {
                assertEquals(message, e.getMessage());
                assertNull(e.getCause());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/Subscriber.java

        try {
          method.invoke(target, checkNotNull(event));
        } catch (IllegalArgumentException e) {
          throw new Error("Method rejected target/argument: " + event, e);
        } catch (IllegalAccessException e) {
          throw new Error("Method became inaccessible: " + event, e);
        } catch (InvocationTargetException e) {
          if (e.getCause() instanceof Error) {
            throw (Error) e.getCause();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/Handler.java

                            } catch (final Exception ex) {}
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader().loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                            break;
                        } catch (final Exception ex) {}
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

                try {
                    // Create SmbFile objects from cached info
                    SmbFile file = createSmbFileFromCache(directoryPath, fileInfo);
                    files.add(file);
                } catch (Exception e) {
                    log.warn("Error creating SmbFile from cache for {}: {}", fileInfo.getName(), e.getMessage());
                    // For testing purposes, continue processing other files
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

                field.set(obj, value);
            } catch (Exception e) {
                throw new RuntimeException("Failed to set field " + fieldName, e);
            }
        }
    
        private Object getFieldValue(Object obj, String fieldName) {
            try {
                Field field = findField(obj.getClass(), fieldName);
                field.setAccessible(true);
                return field.get(obj);
            } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

        hostname: String,
      ): List<Certificate> {
        val certificates = (chain as List<X509Certificate>).toTypedArray()
        try {
          return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname)
        } catch (ce: CertificateException) {
          throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) }
        }
      }
    
      override fun equals(other: Any?): Boolean =
        other is AndroidCertificateChainCleaner &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Closer.java

     *   // do stuff
     * } catch (Throwable e) {
     *   // ensure that any checked exception types other than IOException that could be thrown are
     *   // provided here, e.g. throw closer.rethrow(e, CheckedException.class);
     *   throw closer.rethrow(e);
     * } finally {
     *   closer.close();
     * }
     * }
     *
     * <p>Note that this try-catch-finally block is not equivalent to a try-catch-finally block using
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/role/ApiAdminRoleAction.java

                    messages.addErrorsCrudFailedToCreateInstance(GLOBAL);
                });
                return null;
            });
            try {
                roleService.store(entity);
            } catch (final Exception e) {
                logger.warn("Failed to process a request.", e);
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e)));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top