Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 1,922 for Try (0.04 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java

        public static final int BAD_OPERATION = 2; // bad user input or alike
        public static final int CANCELED = 3; // user canceled
    
        protected int doExecute(LocalContext context) throws Exception {
            try {
                if (!context.interactive) {
                    context.terminal.writer().println("This tool works only in interactive mode!");
                    context.terminal
                            .writer()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/processor/impl/DefaultResponseProcessor.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("Storing accessResult: {}", accessResult);
                    }
                    try {
                        // store
                        CrawlingParameterUtil.getDataService().store(accessResult);
                    } catch (final Exception e) {
                        crawlerContext.decrementAndGetAccessCount();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
        }
    
        public void test_getText_null() {
            try {
                pdfExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    
        public void test_getPassword_null() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SID.java

        /**
         * Well known SID: CREATOR_OWNER
         */
        public static SID CREATOR_OWNER = null;
    
        /**
         * Well known SID: SYSTEM
         */
        public static SID SYSTEM = null;
    
        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 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractorTest.java

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

    public class EnableVersioning {
      /** MinioClient.enableVersioning() example. */
      public static void main(String[] args)
          throws IOException, NoSuchAlgorithmException, InvalidKeyException {
        try {
          /* play.min.io for test and development. */
          MinioClient minioClient =
              MinioClient.builder()
                  .endpoint("https://play.min.io")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 04 21:43:52 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/DocumentUtil.java

            for (final char c : url.toCharArray()) {
                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), enc));
                    } catch (final UnsupportedEncodingException e) {
                        buf.append(c);
                    }
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
        if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return
        try {
          fileSystem.read(file) {
            put(inputStream(), RepositoryPlugin.PutOptions())
            println("Deployed ${file.name}")
          }
        } catch (e: IllegalArgumentException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
          if (predicate.apply(t)) {
            // We are careful to set up INSTANCE_OF to match each Predicate to its target Class.
            @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

        /**
         * Convert the input string to a code point. Accepts regular decimal numerals, hex strings, and
         * some symbolic names meaningful to humans.
         */
        private static int decode(String userFriendly) {
          try {
            return Integer.decode(userFriendly);
          } catch (NumberFormatException ignored) {
            if (userFriendly.matches("(?i)(?:American|English|ASCII)")) {
              // 1-byte UTF-8 sequences - "American" ASCII text
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top