Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,922 for try (0.01 sec)

  1. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                CommonPoolUtil.execute(() -> {
                    try {
                        CloseableUtil.closeQuietly(p.getInputStream());
                    } catch (final Exception e) {
                        logger.warn("Could not close a process input stream.", e);
                    }
                });
                CommonPoolUtil.execute(() -> {
                    try {
                        CloseableUtil.closeQuietly(p.getErrorStream());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            } finally {
                if (mt != null) {
                    mt.setFinished(true);
                    try {
                        mt.interrupt();
                    } catch (final Exception e) {
                        // ignore
                    }
                }
                if (currentProcess != null) {
                    try {
                        currentProcess.destroy();
                    } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

      private static void joinUninterruptibly(Thread thread, long timeout, TimeUnit unit) {
        boolean interrupted = false;
        try {
          long remainingNanos = unit.toNanos(timeout);
          long end = System.nanoTime() + remainingNanos;
    
          while (true) {
            try {
              // TimeUnit.timedJoin() treats negative timeouts just like zero.
              NANOSECONDS.timedJoin(thread, remainingNanos);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        expectMissing(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemoveAll_unsupportedEmptyCollection() {
        try {
          assertFalse(
              "removeAll(emptyCollection) should return false or throw "
                  + "UnsupportedOperationException",
              collection.removeAll(MinimalCollection.of()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. internal/s3select/errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidScanRangeParameter(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidRequestParameter",
    		message:    "The value of a parameter in ScanRange element is invalid. Check the service API documentation and try again.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                final String secretKey = System.getenv().get("STORAGE_SECRET_KEY");
                final String region = System.getenv().get("STORAGE_SECRET_KEY");
                try {
                    if (StringUtil.isBlank(endpoint)) {
                        throw new IOException("endpoint is blank.");
                    }
                    final Builder builder = MinioClient.builder().endpoint(endpoint);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/KerberosTest.java

            CIFSContext ctx = getContext().withCredentials(creds);
            try ( SmbFile f = new SmbFile(getTestShareURL(), ctx) ) {
                try ( SmbTreeHandle th = f.getTreeHandle() ) {
                    Assume.assumeTrue("Not SMB2", th.isSMB2());
                }
    
                f.exists();
                Thread.sleep(wait);
    
                try ( SmbResource r = f.resolve("test") ) {
                    r.exists();
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/SerializeUtil.java

         */
        public static byte[] fromObjectToBinary(final Object obj) {
            assertArgumentNotNull("obj", obj);
    
            try {
                final ByteArrayOutputStream baos = new ByteArrayOutputStream(BYTE_ARRAY_SIZE);
                final ObjectOutputStream oos = new ObjectOutputStream(baos);
                try {
                    oos.writeObject(obj);
                } finally {
                    oos.close();
                }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // (which seems to make more sense).
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MIN_RADIX - 1);
          fail();
        } catch (NumberFormatException expected) {
        } catch (IllegalArgumentException expected) {
          // Kotlin native, see above
        }
    
        try {
          UnsignedInts.parseUnsignedInt("0", Character.MAX_RADIX + 1);
          fail();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/AnalyzerSettings.java

            this.client = client;
            this.settings = settings;
            analyzerSettingsIndexName = createAnalyzerSettingsIndexName(settingsIndexName);
        }
    
        public synchronized void init() {
            try {
                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(analyzerSettingsIndexName).execute().actionGet(settings.getIndicesTimeout());
                if (!response.isExists()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top