Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for fails (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

      }
    
      /**
       * Returns a new {@code Future} whose result is asynchronously derived from the result of the
       * given {@code Future}. If the given {@code Future} fails, the returned {@code Future} fails with
       * the same exception (and the function is not invoked).
       *
       * <p>More precisely, the returned {@code Future} takes its result from a {@code Future} produced
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Preconditions.java

      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @param errorMessage the exception message to use if the check fails; will be converted to a
       *     string using {@link String#valueOf(Object)}
       * @throws IllegalArgumentException if {@code expression} is false
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                            // a relatively large range of samba versions has a bug causing
                            // an invalid parameter error when a SPNEGO MIC is in place and auth fails
                            throw new SmbAuthException("Login failed", e);
                        }
                        else if ( !sessResponse.isReceived() || sessResponse.isError() || ( sessResponse.getStatus() != NtStatus.NT_STATUS_OK
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Preconditions.java

      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @param errorMessage the exception message to use if the check fails; will be converted to a
       *     string using {@link String#valueOf(Object)}
       * @throws IllegalArgumentException if {@code expression} is false
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        }
        // The future has already been set to something. If it is cancellation we should cancel the
        // incoming future.
        if (localValue instanceof Cancellation) {
          // we don't care if it fails, this is best-effort.
          future.cancel(((Cancellation) localValue).wasInterrupted);
        }
        return false;
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                        try {
                          peeker.getDone(input2Failed);
                          fail("Peeker.getDone() should fail for failed inputs");
                        } catch (ExecutionException expected) {
                        }
                        try {
                          peeker.getDone(nonInput);
                          fail("Peeker should not be able to peek into non-input ClosingFuture.");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

            }
    
            try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                // should not normally be required, but samba without NTStatus does not properly resolve the path and fails
                // with
                // STATUS_UNSUCCESSFUL
                exists();
                // get the path again, this may have changed through DFS referrals
                path = this.fileLocator.getUNCPath();
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          return;
        }
        fail();
      }
    
      public void testAssertSubtypeTokenBeforeSupertypeToken_duplicate() {
        try {
          assertSubtypeTokenBeforeSupertypeToken(
              ImmutableList.of(TypeToken.of(String.class), TypeToken.of(String.class)));
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        public void testValidationErrorUponNonUniqueDependencyKey()
            throws Exception
        {
            try
            {
                buildPom( "unique-dependency-key/deps" );
                fail( "Non-unique dependency keys did not cause validation error" );
            }
            catch ( ProjectBuildingException e )
            {
                // expected
            }
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/IteratorsTest.java

        try {
          iterator.next();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.previous();
          fail("no exception thrown");
        } catch (NoSuchElementException expected) {
        }
        try {
          iterator.remove();
          fail("no exception thrown");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
Back to top