Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,808 for Try (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java

        try {
          getMap().replace(k0(), v3(), v4());
        } catch (UnsupportedOperationException tolerated) {
          // the operation would be a no-op, so exceptions are allowed but not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testReplaceEntry_unsupportedAbsentKey() {
        try {
          getMap().replace(k3(), v3(), v4());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

       * constructor.
       */
      public void testAddEqualObjectWithOArgConstructor() {
        equalsTester.addEqualityGroup(equalObject1, notEqualObject1);
        try {
          equalsTester.testEquals();
        } catch (AssertionFailedError e) {
          assertErrorMessage(
              e,
              equalObject1
                  + " [group 1, item 1] must be Object#equals to "
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

            final ResponseData responseData = new ResponseData();
            try {
                responseData.setMethod(Constants.GET_METHOD);
                final String filePath = preprocessUri(uri);
                responseData.setUrl(filePath);
    
                File file = null;
                try {
                    file = new File(new URI(filePath));
                } catch (final URISyntaxException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb1/SmbClientTest.java

                    try {
                        Thread.sleep(2000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb1://localhost/test.txt");
                fail();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      private void assertSetCountIncreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
          fail("a call to multiset.setCount() to increase an element's count should throw");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      private void assertSetCountDecreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java

         */
        // DELETE /api/admin/badword/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                badWordService.getBadWord(id).ifPresent(entity -> {
                    try {
                        badWordService.delete(entity);
                        suggestHelper.deleteBadWord(entity.getSuggestWord());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

        private void attemptRecovery(ChannelInfo channel, FailoverState state) {
            try {
                log.info("Attempting to recover channel {}", channel.getChannelId());
    
                // Disconnect existing transport
                SmbTransport oldTransport = channel.getTransport();
                if (oldTransport != null) {
                    try {
                        oldTransport.close();
                    } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/internal/Finalizer.java

           */
          return null;
        }
        try {
          return finalizableReferenceClass.getMethod("finalizeReferent");
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      private static @Nullable Field getInheritableThreadLocalsField() {
        try {
          Field inheritableThreadLocals = Thread.class.getDeclaredField("inheritableThreadLocals");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. docs/smb3-features/06-witness-protocol-design.md

        }
    }
    
    private InetAddress discoverWitnessService() throws IOException {
        // Try the same server first
        InetAddress serverAddress = transport.getRemoteAddress();
        
        if (isWitnessServiceAvailable(serverAddress)) {
            return serverAddress;
        }
        
        // Query for cluster witness service via DNS
        try {
            String clusterName = getClusterName(serverAddress);
            if (clusterName != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

        try {
          getMap().replace(k0(), v3(), v4());
        } catch (UnsupportedOperationException tolerated) {
          // the operation would be a no-op, so exceptions are allowed but not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      public void testReplaceEntry_unsupportedAbsentKey() {
        try {
          getMap().replace(k3(), v3(), v4());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top