Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for getCause (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

            String fullMessage = (message != null) ? message : "";
    
            // To break out of possible endless loop when getCause returns "this"
            for (Throwable t = exception; t != null && t != t.getCause(); t = t.getCause()) {
                String exceptionMessage = t.getMessage();
    
                if (t instanceof AbstractMojoExecutionException) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            if (e.getCause() instanceof MultipleArtifactsNotFoundException) {
                return true;
            }
            return e.getCause() instanceof org.eclipse.aether.resolution.ArtifactResolutionException
                    && e.getCause().getCause() instanceof ArtifactNotFoundException;
        }
    
        private boolean isNonTransferablePom(Exception e) {
            if (e.getCause() instanceof ArtifactResolutionException) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 30.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Throwables.java

        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
            throw new IllegalArgumentException("Loop in causal chain detected.", throwable);
          }
          if (advanceSlowPointer) {
            slowPointer = slowPointer.getCause();
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Throwables.java

        Throwable cause;
        while ((cause = throwable.getCause()) != null) {
          throwable = cause;
    
          if (throwable == slowPointer) {
            throw new IllegalArgumentException("Loop in causal chain detected.", throwable);
          }
          if (advanceSlowPointer) {
            slowPointer = slowPointer.getCause();
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java

                    assertNotNull(event.getProject());
                    assertNotNull(event.getExecution());
                    assertNotNull(event.getMojo());
                    assertNull(event.getCause());
    
                    log.add("beforeMojoExecution " + event.getProject().getArtifactId() + ":"
                            + event.getExecution().getExecutionId());
                }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Jan 09 20:57:17 GMT 2024
    - 24.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/SessionTest.java

                ignoreAuthFailure(e);
            }
        }
    
    
        protected void ignoreAuthFailure ( SmbAuthException e ) throws SmbAuthException {
            if ( e.getCause() != null && e.getCause() instanceof SmbException
                    && ( (SmbException) e.getCause() ).getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER ) {
                // broken samba servers
                Assume.assumeNoException(e);
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          return future.get();
        } catch (InterruptedException e) {
          currentThread().interrupt();
          throw newWithCause(exceptionClass, e);
        } catch (ExecutionException e) {
          wrapAndThrowExceptionOrError(e.getCause(), exceptionClass);
          throw new AssertionError();
        }
      }
    
      /** Implementation of {@link Futures#getChecked(Future, Class, long, TimeUnit)}. */
      @CanIgnoreReturnValue
      @ParametricNullness
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ConcurrencyTest.java

                            }
                            tree.send(create2);
                        }
                        catch ( Exception e ) {
    
                            if ( e.getCause() instanceof TransportException && e.getCause().getCause() instanceof InterruptedException ) {
    
                                Smb2CreateRequest create3 = new Smb2CreateRequest(sess.getConfig(), "\\xyz");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/TimeoutTest.java

            try {
                f.createNewFile();
                assertTrue("Did not see error", false);
            }
            catch ( SmbException e ) {
                if ( e.getCause() instanceof ConnectionTimeoutException ) {
                    long timeout = System.currentTimeMillis() - start;
                    assertTrue(
                        String.format(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12.4K bytes
    - Viewed (0)
  10. 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)
Back to top