Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 158 for throwable (1.84 sec)

  1. src/main/java/org/codelibs/core/lang/MethodUtil.java

            assertArgumentNotNull("method", method);
    
            try {
                return (T) method.invoke(target, args);
            } catch (final InvocationTargetException ex) {
                final Throwable t = ex.getCause();
                if (t instanceof RuntimeException) {
                    throw (RuntimeException) t;
                }
                if (t instanceof Error) {
                    throw (Error) t;
                }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @param se the SmbException to convert
         * @return an IOException wrapping the SmbException
         */
        protected static IOException seToIoe(final SmbException se) {
            IOException ioe = se;
            Throwable root = se.getCause();
            if (root instanceof TransportException) {
                ioe = (TransportException) root;
                root = ioe.getCause();
            }
            if (root instanceof InterruptedException) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

            return res;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#finalize()
         */
        @Override
        protected void finalize() throws Throwable {
            try {
                if (isConnected() && this.usageCount.get() != 0) {
                    log.warn("Tree was not properly released, performing emergency cleanup: " + this);
                    emergencyCleanup();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/exec/Crawler.java

                } else if (logger.isInfoEnabled()) {
                    logger.info("Crawler is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
                logger.error("Crawler terminated unexpectedly.", t);
                exitCode = Constants.EXIT_FAIL;
            } finally {
                if (commandThread != null && commandThread.isAlive()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            when(handle.getFileId()).thenReturn(new byte[16]);
            when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any()))
                    .thenThrow(new SmbException(0xC0000120, (Throwable) null));
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
            List<FileNotifyInformation> result = sut.watch();
    
            assertNull(result, "Cancelled watch should return null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

            try {
                if (value.getClass() == String.class) {
                    return converter.getAsObject((String) value);
                }
                return converter.getAsString(value);
            } catch (final Throwable cause) {
                throw new ConverterRuntimeException(destPropertyName, value, cause);
            }
        }
    
        /**
         * Finds the converter corresponding to the class.
         *
         * @param clazz
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            verify(tree, times(1)).release();
        }
    
        @Test
        @DisplayName("finalize() logs a warning when not closed (no exception)")
        void finalize_logsWhenNotClosed() throws Throwable {
            when(cfg.isTraceResourceUsage()).thenReturn(true); // exercise backtrace branch
            stubValidTree(2L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 1, tree, "//host/share", 0, 0, 0, 0, 0L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                } else {
                    try {
                        dataStore.store(dataConfig, indexUpdateCallback, initParamMap);
                    } catch (final Throwable e) {
                        logger.error("Failed to process a data crawling: {}", dataConfig.getName(), e);
                        ComponentUtil.getComponent(FailureUrlService.class)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

            try {
                super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX);
            } catch (final OpenSearchAccessException e) {
                final Throwable cause = e.getCause();
                if (cause != null && "VersionConflictEngineException".equals(cause.getClass().getSimpleName())) {
                    if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 16.9K bytes
    - Viewed (1)
  10. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                            urlQueue.getUrl(), urlQueue.getDepth() != null ? urlQueue.getDepth() + 1 : 1);
                } catch (final Throwable t) {
                    if (!ComponentUtil.available()) {
                        throw new ContainerNotAvailableException(t);
                    }
                    throw t;
                }
            }
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
Back to top