Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for getCause (0.07 sec)

  1. compat/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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. impl/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", or dejaVu for n-level recursion (n>1)
            Set<Throwable> dejaVu = Collections.newSetFromMap(new IdentityHashMap<>());
            for (Throwable t = exception; t != null && t != t.getCause(); t = t.getCause()) {
                String exceptionMessage = t.getMessage();
                String longMessage = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. 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);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  4. 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();
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

             * simply rethrow an exception (e.getCause()) that may in rare cases have come from another
             * thread. To accomplish both goals, we wrap that IllegalArgumentException in a new
             * instance.
             */
            throw new IllegalArgumentException(e.getCause().getMessage(), e.getCause());
          }
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. 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");
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  8. 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(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileInputStream.java

        }
    
    
        protected static IOException seToIoe ( SmbException se ) {
            IOException ioe = se;
            Throwable root = se.getCause();
            if ( root instanceof TransportException ) {
                ioe = (TransportException) root;
                root = ( (TransportException) ioe ).getCause();
            }
            if ( root instanceof InterruptedException ) {
                ioe = new InterruptedIOException(root.getMessage());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/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;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top