Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getCause (0.23 sec)

  1. src/main/java/org/codelibs/fess/helper/CrawlerLogHelper.java

                    final Throwable[] causes = ((MultipleCrawlingAccessException) e).getCauses();
                    if (causes.length > 0) {
                        e = causes[causes.length - 1];
                    }
                }
    
                String errorName;
                final Throwable cause = e.getCause();
                if (cause != null) {
                    errorName = cause.getClass().getCanonicalName();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java

            final StringBuilder buf = new StringBuilder(100);
            Throwable current = t;
            while (current != null) {
                buf.append(current.getLocalizedMessage()).append(' ');
                current = current.getCause();
            }
            return buf.toString();
        }
    
        public static boolean isCheckboxEnabled(final String value) {
            if (value == null) {
                return false;
            }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } catch (final ClientAbortException e) {
                    logger.debug("Client aborts this request.", e);
                }
            } catch (final Exception e) {
                if (!(e.getCause() instanceof ClientAbortException)) {
                    throw new WebApiException(HttpServletResponse.SC_INTERNAL_SERVER_ERROR, e);
                }
                logger.debug("Client aborts this request.", e);
            }
        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

                    throw responseManager.new400("Unsupported request type.");
                }
                return actionResponse;
            } catch (final SsoMessageException e) {
                if (e.getCause() == null) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Metadata response.", e);
                    }
                    saveInfo(e.getMessageCode());
                } else {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    } catch (final DataStoreCrawlingException e) {
                        crawlerStatsHelper.record(keyObj, StatsAction.ACCESS_EXCEPTION);
                        final Throwable cause = e.getCause();
                        if (cause instanceof ChildUrlsException) {
                            ((ChildUrlsException) cause).getChildUrlList().stream().map(RequestData::getUrl).forEach(s -> {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            }
        }
    
        protected String detailedMessage(final Throwable t) {
            if (t == null) {
                return "Unknown";
            }
            Throwable target = t;
            if (target.getCause() == null) {
                return target.getClass().getSimpleName() + "[" + target.getMessage() + "]";
            }
            final StringBuilder sb = new StringBuilder();
            while (target != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                try (final InputStream is = new BufferedInputStream(responseData.getResponseBody())) {
                    out.write(is);
                } catch (final IOException e) {
                    if (!(e.getCause() instanceof ClientAbortException)) {
                        throw new FessSystemException("Failed to write a content. configId: " + configId + ", url: " + url, e);
                    }
                } finally {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 40.1K bytes
    - Viewed (2)
  8. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

                }
                return consumer.test(configId, url);
            } catch (final ThumbnailGenerationException e) {
                if (e.getCause() == null) {
                    logger.debug(e.getMessage());
                } else {
                    logger.warn("Failed to process {}", id, e);
                }
            } catch (final Exception e) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top