Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 2,175 for catch (0.06 sec)

  1. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

                  Files.createFile(dirToDelete.resolve("j/k"));
                } catch (FileAlreadyExistsException expected) {
                  // if a file already exists, that's fine... just continue
                }
    
                try {
                  method.delete(dirToDelete);
                } catch (FileSystemException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/InetAddresses.java

            }
            return Inet6Address.getByAddress(
                v6Address.getHostAddress(), v6Address.getAddress(), asInterface);
          } catch (SocketException | UnknownHostException e) {
            throw new IllegalArgumentException("No such interface: " + scope, e);
          }
        } catch (UnknownHostException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

        static {
            try {
                EVERYONE = new SID("S-1-1-0");
                CREATOR_OWNER = new SID("S-1-3-0");
                SYSTEM = new SID("S-1-5-18");
            }
            catch ( SmbException se ) {
                log.error("Failed to create builtin SIDs", se);
            }
        }
    
    
        /**
         * Convert a sid_t to byte array
         * 
         * @param sid
         * @return byte encoded form
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

         */
        @Test
        public void testIllegalIndexedType() throws Exception {
            try {
                ReflectionValueExtractor.evaluate("h.value[1]", new ValueHolder("string"));
            } catch (Exception e) {
                // TODO assert exception message
            }
        }
    
        /**
         * <p>testIllegalMappedType.</p>
         *
         * @throws Exception if any.
         */
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. docs/bucket/versioning/README.md

          minioClient.enableVersioning(EnableVersioningArgs.builder().bucket("my-bucketname").build());
    
          System.out.println("Bucket versioning is enabled successfully");
    
        } catch (MinioException e) {
          System.out.println("Error occurred: " + e);
        }
      }
    }
    ```
    
    ### isVersioningEnabled() API
    
    ```
    public class IsVersioningEnabled {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/netbios/NodeStatusResponse.java

                                                isActive,
                                                isPermanent,
                                                macAddress );
                    }
                }
            } catch( UnsupportedEncodingException uee ) {
            }
            return srcIndex - start;
        }
        public String toString() {
            return new String( "NodeStatusResponse[" +
                super.toString() + "]" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

                                    writer.write(hit.getSourceAsString());
                                    writer.write("\n");
                                } catch (final IOException e) {
                                    throw new IORuntimeException(e);
                                }
                                return true;
                            });
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

        try {
          getMap()
              .computeIfPresent(
                  k3(),
                  (k, v) -> {
                    throw new AssertionFailedError();
                  });
        } catch (UnsupportedOperationException tolerated) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

            continue;
          }
          Class<?> clazz = info.load();
          try {
            Method unused = clazz.getDeclaredMethod("writeReplace");
            continue; // It overrides writeReplace, so it's safe.
          } catch (NoSuchMethodException e) {
            // This is a class whose supertypes we want to examine. We'll do that below.
          }
          Optional<Class<?>> supersWithPackagePrivateWriteReplace =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        }
    
        protected FilterChain createDefaultFilterChain() {
            return query -> {
                try {
                    return createQueryParser().parse(query);
                } catch (final ParseException e) {
                    throw new QueryParseException(e);
                }
            };
        }
    
        public interface Filter {
            Query parse(final String query, final FilterChain chain);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top