Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 420 for yyerror (0.4 sec)

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

        }
      }
    
      public void testTransformAsync_asyncFunction_error() throws InterruptedException {
        final Error error = new Error("deliberate");
        AsyncFunction<String, Integer> function =
            new AsyncFunction<String, Integer>() {
              @Override
              public ListenableFuture<Integer> apply(String input) {
                throw error;
              }
            };
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

            this.error = true;
            this.exception = e;
            this.received = true;
            synchronized ( this ) {
                notifyAll();
            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Response#error()
         */
        @Override
        public final void error () {
            this.error = true;
            synchronized ( this ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                SmbTree t = (SmbTree)e.nextElement();
                t.treeDisconnect( inError );
            }
    
            if( !inError && transport.server.security != ServerMessageBlock.SECURITY_SHARE ) {
                /*
                 * Logoff And X Request / Response
                 */
    
                SmbComLogoffAndX request = new SmbComLogoffAndX( null );
                request.uid = uid;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

                throw new SMBProtocolDowngradeException("Signature error during negotiate validation", e);
            }
            catch ( SmbException e ) {
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("VALIDATE_NEGOTIATE_INFO response code 0x%x", e.getNtStatus()));
                }
                log.trace("VALIDATE_NEGOTIATE_INFO returned error", e);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          Helpers.assertContentsInOrder(list, "a", "c", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          Helpers.assertContentsInOrder(list, "a", "B", "c");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThat(verticalValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(0.0);
        assertThat(constantValuesAccumulator.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
        assertThat(constantValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(0.0);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThat(verticalValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(0.0);
        assertThat(constantValuesAccumulator.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
        assertThat(constantValuesAccumulatorByAddAllPartitionedPairedStats.sampleCovariance())
            .isWithin(ALLOWED_ERROR)
            .of(0.0);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 23.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
      public void testGetCheckedUntimed_Error() throws TwoArgConstructorException {
        try {
          getChecked(ERROR_FUTURE, TwoArgConstructorException.class);
        } catch (Error expected) {
          assertEquals(ERROR, expected);
          return;
        }
        fail();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 16.4K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

      @Override
      public void run() {
        T result = null;
        Throwable error = null;
        if (isDone()) {
          return;
        }
        try {
          result = runInterruptibly();
        } catch (Throwable t) {
          error = t;
        }
        if (error == null) {
          // The cast is safe because of the `run` and `error` checks.
          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/UncheckedThrowingFuture.java

     */
    @GwtCompatible
    final class UncheckedThrowingFuture<V> extends AbstractFuture<V> {
    
      public static <V> ListenableFuture<V> throwingError(Error error) {
        UncheckedThrowingFuture<V> future = new UncheckedThrowingFuture<V>();
        future.complete(checkNotNull(error));
        return future;
      }
    
      public static <V> ListenableFuture<V> throwingRuntimeException(RuntimeException e) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 12 20:02:10 GMT 2018
    - 3.2K bytes
    - Viewed (0)
Back to top