Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 141 for getCause (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                try {
                  String result = Uninterruptibles.getUninterruptibly(currentFuture.get());
                  finalResults.add(result);
                } catch (ExecutionException e) {
                  finalResults.add(e.getCause());
                } catch (CancellationException e) {
                  finalResults.add(CancellationException.class);
                } finally {
                  awaitUnchecked(barrier);
                }
              }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        try {
          method.invoke(wrapper, getParameterValues(method));
          fail(method + " failed to throw exception as is.");
        } catch (InvocationTargetException e) {
          if (exception != e.getCause()) {
            throw new RuntimeException(e);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError(e);
        }
      }
    
      private static <T> void testEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        try {
          method.invoke(wrapper, getParameterValues(method));
          fail(method + " failed to throw exception as is.");
        } catch (InvocationTargetException e) {
          if (exception != e.getCause()) {
            throw new RuntimeException(e);
          }
        } catch (IllegalAccessException e) {
          throw new AssertionError(e);
        }
      }
    
      private static <T> void testEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/exception/ConverterRuntimeExceptionTest.java

            System.out.println(e.getMessage());
            assertThat(e.getPropertyName(), is("hoge"));
            assertThat(e.getValue(), is((Object) "xxx"));
            assertThat(e.getCause().getMessage(), is("cause"));
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                                        .location(settingsSource.getLocation())
                                        .strict(false)
                                        .build());
                        Location loc = e.getCause() instanceof XMLStreamException xe ? xe.getLocation() : null;
                        problems.add(new DefaultBuilderProblem(
                                settingsSource.getLocation(),
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

            return project;
        }
    
        public MojoExecution getExecution() {
            return mojoExecution;
        }
    
        public Mojo getMojo() {
            return mojo;
        }
    
        public Throwable getCause() {
            return cause;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginNotFoundException.java

                    e.getArtifactId(),
                    e.getVersion(),
                    "maven-plugin",
                    null,
                    e.getRemoteRepositories(),
                    null,
                    e.getCause());
            this.plugin = plugin;
        }
    
        public PluginNotFoundException(Plugin plugin, List<ArtifactRepository> remoteRepositories) {
            super(
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

            this.cause = cause;
        }
    
        /**
         * Gets the cause of the build failure.
         *
         * @return The cause of the build failure or {@code null} if unknown.
         */
        public Throwable getCause() {
            return cause;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

              assertThrows(
                  InvocationTargetException.class,
                  () -> checkArgumentMethod.invoke(null /* static method */, failingParams));
          assertFailureCause(ite.getCause(), IllegalArgumentException.class, failingParams);
        }
      }
    
      @GwtIncompatible("Reflection")
      @J2ktIncompatible
      public void testAllOverloads_checkState() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

        try {
          V value = getDone(this);
          builder.append("SUCCESS, result=[").append(value).append("]");
        } catch (ExecutionException e) {
          builder.append("FAILURE, cause=[").append(e.getCause()).append("]");
        } catch (CancellationException e) {
          builder.append("CANCELLED");
        } catch (RuntimeException e) {
          builder.append("UNKNOWN, cause=[").append(e.getClass()).append(" thrown from get()]");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top