Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 130 for getCause (0.1 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: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

                  + " from "
                  + invokable
                  + Arrays.toString(params)
                  + " for "
                  + testedClass);
        } catch (InvocationTargetException e) {
          Throwable cause = e.getCause();
          if (policy.isExpectedType(cause)) {
            return;
          }
          throw new AssertionError(
              String.format(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          // requireNonNull is safe because ExampleStackTrace sets a non-null message.
          StringBuilder message = new StringBuilder(requireNonNull(super.getMessage()));
          for (Throwable t = conflictingStackTrace; t != null; t = t.getCause()) {
            message.append(", ").append(t.getMessage());
          }
          return message.toString();
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                return def;
            }
            String msg = error.getMessage();
            if (msg != null && !msg.isEmpty()) {
                return msg;
            }
            return getMessage(error.getCause(), def);
        }
    
        private ArtifactRepositoryLayout getLayout(String id) {
            ArtifactRepositoryLayout layout = layouts.get(id);
    
            if (layout == null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/NullPointerTester.java

                  + " from "
                  + invokable
                  + Arrays.toString(params)
                  + " for "
                  + testedClass);
        } catch (InvocationTargetException e) {
          Throwable cause = e.getCause();
          if (policy.isExpectedType(cause)) {
            return;
          }
          throw new AssertionError(
              String.format(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. 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 {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 40.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/LocalCache.java

              }
            }
    
            // at this point e is either null or expired;
            return lockedGetOrLoad(key, hash, loader);
          } catch (ExecutionException ee) {
            Throwable cause = ee.getCause();
            if (cause instanceof Error) {
              throw new ExecutionError((Error) cause);
            } else if (cause instanceof RuntimeException) {
              throw new UncheckedExecutionException(cause);
            }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

                client.execute(RequestDataBuilder.newRequestData().get().url(url).build());
                fail();
            } catch (final MultipleCrawlingAccessException e) {
                // ok
                final Throwable[] causes = e.getCauses();
                assertEquals(5, causes.length);
            }
            assertEquals(1, testListener.startCount);
            assertEquals(5, testListener.requestCount);
            assertEquals(5, testListener.exceptionCount);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MultipleCrawlingAccessException.java

            int count = 1;
            for (final Throwable t : throwables) {
                s.println("Caused " + count + ":");
                t.printStackTrace(s);
                count++;
            }
        }
    
        public Throwable[] getCauses() {
            return throwables;
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

            org.slf4j.Logger l = context.loggerFactory.getLogger(this.getClass().getName());
            context.logger = (level, message, error) -> l.atLevel(org.slf4j.event.Level.valueOf(level.name()))
                    .setCause(error)
                    .log(message);
    
            return container;
        }
    
        protected Set<String> collectExportedArtifacts(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top