Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,808 for Try (0.02 sec)

  1. src/test/java/jcifs/internal/witness/MockWitnessService.java

            running.set(false);
    
            if (serverSocket != null && !serverSocket.isClosed()) {
                try {
                    serverSocket.close();
                } catch (IOException e) {
                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

        }
    
        @Override
        public boolean ensureConnected() throws IOException {
            boolean result = delegate.ensureConnected();
    
            // Try to establish RDMA connection if configured
            if (result && delegate.getContext().getConfig().isRdmaEnabled()) {
                try {
                    connectRdma();
                } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            // Helper methods to manipulate parent's private fields via reflection or protected methods
            public void setStatusForTest(int status) {
                // Workaround: Use reflection to set private status field
                try {
                    java.lang.reflect.Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
                    statusField.setAccessible(true);
                    statusField.set(this, status);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            } finally {
                if (mt != null) {
                    mt.setFinished(true);
                    try {
                        mt.interrupt();
                    } catch (final Exception e) {}
                }
                if (currentProcess != null) {
                    try {
                        currentProcess.destroy();
                    } catch (final Exception e) {}
                }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                        try {
                            CloseableUtil.closeQuietly(p.getInputStream());
                        } catch (final Exception e) {
                            logger.warn("Could not close a process input stream.", e);
                        }
                    });
                    CommonPoolUtil.execute(() -> {
                        try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

        public void setValue(final Object target, final Object value) {
            assertArgumentNotNull("target", target);
    
            try {
                final Object convertedValue = convertIfNeed(value);
                assertState(writable, propertyName + " is not writable.");
                if (hasWriteMethod()) {
                    try {
                        MethodUtil.invoke(writeMethod, target, convertedValue);
                    } catch (final Throwable t) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

            final BufferedInputStream bis = new BufferedInputStream(in);
            bis.mark(preloadSize);
    
            final byte[] bytes = new byte[preloadSize];
            try {
                if (bis.read(bytes) == -1) {
                    return false;
                }
    
                final String preloadDate = new String(bytes, Constants.UTF_8);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                    .replace(TRY_STATEMENT, "<% try{ %>")
                    .replace(CACHE_AND_SESSION_INVALIDATE_STATEMENT, "<% }catch(Exception e){session.invalidate();} %>");
        }
    
        /**
         * Encode the JSP content.
         * @param value The value.
         * @return The encoded value.
         */
        public static String encodeJsp(final String value) {
            return value.replace("<% try{ %>", TRY_STATEMENT)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                try {
                    ist.interrupt();
                } catch (final Exception e) {
                    logger.warn("Could not interrupt a thread of an input stream.", e);
                }
    
                final CountDownLatch latch = new CountDownLatch(3);
                final Process process = jobProcess.getProcess();
                new Thread(() -> {
                    try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

        @Override
        public void run() {
          try {
            workOnQueue();
          } catch (Error e) {
            synchronized (queue) {
              workerRunningState = IDLE;
            }
            throw e;
            // The execution of a task has ended abnormally.
            // We could have tasks left in the queue, so should perhaps try to restart a worker,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top