Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getCauses (0.16 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                    result.setRepository(resolveResult.getRepository());
                } catch (ArtifactResolutionException e) {
                    if (e.getCause() instanceof ArtifactNotFoundException) {
                        missingDescriptor(session, trace, a, (Exception) e.getCause());
                        if ((getPolicy(session, a, request) & ArtifactDescriptorPolicy.IGNORE_MISSING) != 0) {
                            return null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            initRepoSession(configuration);
    
            try {
                return projectBuilder.build(pom, configuration).getProject();
            } catch (Exception e) {
                Throwable cause = e.getCause();
                if (cause instanceof ModelBuildingException) {
                    String message = "In: " + pom + "\n\n";
                    for (ModelProblem problem : ((ModelBuildingException) cause).getProblems()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                method.setAccessible(true);
                try {
                    return method.invoke(getScopeState().scope(key, unscoped).get(), args);
                } catch (InvocationTargetException e) {
                    throw e.getCause();
                }
            };
            Class<T> superType = (Class<T>) key.getTypeLiteral().getRawType();
            Class<?>[] interfaces = getInterfaces(superType);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            } catch (ComponentLookupException e) {
                Throwable cause = e.getCause();
                while (cause != null && !(cause instanceof LinkageError) && !(cause instanceof ClassNotFoundException)) {
                    cause = cause.getCause();
                }
    
                if ((cause instanceof NoClassDefFoundError) || (cause instanceof ClassNotFoundException)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private Object invokeGeneratorMethod(Method generator, Object... args) {
        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      private Object invokeGeneratorMethod(Method generator, Object... args) {
        try {
          return generator.invoke(this, args);
        } catch (InvocationTargetException e) {
          throwIfUnchecked(e.getCause());
          throw new RuntimeException(e.getCause());
        } catch (Exception e) {
          throwIfUnchecked(e);
          throw new RuntimeException(e);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java

                    throw new IllegalStateException("Unable to lookup " + RepositorySystem.class.getName());
                } catch (org.eclipse.aether.resolution.ArtifactResolutionException e) {
                    if (e.getCause() instanceof org.eclipse.aether.transfer.ArtifactNotFoundException) {
                        throw new ArtifactNotFoundException(e.getMessage(), artifact, remoteRepositories, e);
                    } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 24.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          throw new AssertionError(impossible);
        } catch (InvocationTargetException e) {
          logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause());
          return arbitraryConstantInstanceOrNull(type);
        }
      }
    
      private static <T> @Nullable T arbitraryConstantInstanceOrNull(Class<T> type) {
        Field[] fields = type.getDeclaredFields();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

          throw new AssertionError(impossible);
        } catch (InvocationTargetException e) {
          logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause());
          return arbitraryConstantInstanceOrNull(type);
        }
      }
    
      private static <T> @Nullable T arbitraryConstantInstanceOrNull(Class<T> type) {
        Field[] fields = type.getDeclaredFields();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                        + "isCancelled() == true: "
                        + future,
                    exception));
          }
          return new Failure(exception.getCause());
        } catch (CancellationException cancellation) {
          if (!wasCancelled) {
            return new Failure(
                new IllegalArgumentException(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top