Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,808 for try (0.01 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/internal/compat/interactivity/LegacyPlexusInteractivity.java

        }
    
        @Override
        public String readLine() throws IOException {
            try {
                return prompter.prompt(null);
            } catch (org.apache.maven.api.services.PrompterException e) {
                throw new IOException("Unable to prompt", e);
            }
        }
    
        @Override
        public String readPassword() throws IOException {
            try {
                return prompter.promptForPassword(null);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:48:41 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

            try {
                ThreadDumpUtil.printThreadDump();
            } catch (Exception e) {
                fail("printThreadDump() should not throw exceptions: " + e.getMessage());
            }
        }
    
        public void test_printThreadDumpAsWarn() {
            // This test verifies that printThreadDumpAsWarn() method exists and can be called without exceptions
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            assertNotNull(result);
            assertEquals(0, result.size());
        }
    
        public void test_buildQuery_emptyKeywords() {
            try {
                List<String> keywordList = Collections.emptyList();
                List<FilterFunctionBuilder> functionBuilders = new ArrayList<>();
    
                try {
                    keyMatchHelper.buildQuery(keywordList, functionBuilders);
                } catch (Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

      @J2ktIncompatible
      @GwtIncompatible // concurrency
      public static void awaitUninterruptibly(CountDownLatch latch) {
        boolean interrupted = false;
        try {
          while (true) {
            try {
              latch.await();
              return;
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        private void loadPersistedHandles() {
            if (!Files.exists(stateDirectory)) {
                return;
            }
    
            try (DirectoryStream<Path> stream = Files.newDirectoryStream(stateDirectory, "*.handle")) {
                for (Path handleFile : stream) {
                    try (ObjectInputStream ois = new ObjectInputStream(Files.newInputStream(handleFile))) {
                        HandleInfo info = (HandleInfo) ois.readObject();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        Collection<E> copy = new ArrayList<>();
        copy.addAll(collection);
    
        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

        }
    
        public void test_crawl_withNullParameters() {
            try {
                webFsIndexHelper.crawl("sessionId", null, null);
                assertTrue(true);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_crawl_withEmptyLists() {
            try {
                webFsIndexHelper.crawl("sessionId", Collections.emptyList(), Collections.emptyList());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

         */
        private void emergencyCleanup() {
            try {
                // Force usage count to zero to trigger cleanup
                this.usageCount.set(0);
    
                synchronized (this) {
                    // Emergency release of transport
                    if (this.transportAcquired.compareAndSet(true, false)) {
                        try {
                            this.transport.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/HMACT64Test.java

            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
                mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5);
            }
        }
    
        @Test
        void testConstructorWithNormalKey() throws NoSuchAlgorithmException {
            // Test constructor with a normal length key
            try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CloserTest.java

        TestCloseable c1 = closer.register(TestCloseable.normal());
        TestCloseable c2 = closer.register(TestCloseable.normal());
    
        IOException exception = new IOException();
    
        try {
          try {
            throw exception;
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        } catch (Throwable expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top