Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 52 for thr_new (0.13 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        } catch (UnknownElementException e) {
          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
            throw new AssertionError("Target threw exception when reference did not", targetException);
          }
    
          /*
           * Reference iterator returned a value, so we should expect the
           * same value from the target
           */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

          if (throwable == null) {
            throwable =
                new NullPointerException(
                    "Future type "
                        + localInputFuture.getClass()
                        + " threw "
                        + e.getClass()
                        + " without a cause");
          }
        } catch (Throwable t) { // this includes CancellationException and sneaky checked exception
          throwable = t;
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        } catch (UnknownElementException e) {
          throw new AssertionError(e);
        }
    
        if (referenceException == null) {
          if (targetException != null) {
            throw new AssertionError("Target threw exception when reference did not", targetException);
          }
    
          /*
           * Reference iterator returned a value, so we should expect the
           * same value from the target
           */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/StringsTest.java

            .matches(
                // J2kt nested class name does not use "$"
                "boiler <com\\.google\\.common\\.base\\.StringsTest[.$]ThrowsOnToString@[0-9a-f]+ "
                    + "threw java\\.lang\\.UnsupportedOperationException> plate");
      }
    
      public void testLenientFormat_badArgumentToString_gwtFriendly() {
        assertThat(Strings.lenientFormat("boiler %s plate", new ThrowsOnToString()))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/runtime/sys_windows_amd64.s

    	get_tls(AX)
    	CMPQ	AX, $0
    	JNE	2(PC)
    	// This shouldn't happen, sehtramp is only attached to functions
    	// called from Go, and exception handlers are only called from
    	// the thread that threw the exception.
    	INT	$3
    
    	// Exception from Go thread, set R14.
    	MOVQ	g(AX), R14
    
    	ADJSP	$40
    	MOVQ	CX, 0(SP)
    	MOVQ	DX, 8(SP)
    	MOVQ	R8, 16(SP)
    	MOVQ	R9, 24(SP)
    	CALL	runtime·sehhandler(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Monitor.java

          }
        }
    
        boolean satisfied = false;
        boolean threw = true;
        try {
          satisfied =
              guard.isSatisfied()
                  || awaitNanos(
                      guard,
                      (startTime == 0L) ? timeoutNanos : remainingNanos(startTime, timeoutNanos),
                      reentrant);
          threw = false;
          return satisfied;
        } finally {
          if (!satisfied) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Monitor.java

          }
        }
    
        boolean satisfied = false;
        boolean threw = true;
        try {
          satisfied =
              guard.isSatisfied()
                  || awaitNanos(
                      guard,
                      (startTime == 0L) ? timeoutNanos : remainingNanos(startTime, timeoutNanos),
                      reentrant);
          threw = false;
          return satisfied;
        } finally {
          if (!satisfied) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 18:22:01 UTC 2023
    - 42.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/eventbus/EventBus.java

        checkNotNull(e);
        checkNotNull(context);
        try {
          exceptionHandler.handleException(e, context);
        } catch (Throwable e2) {
          // if the handler threw an exception... well, just log it
          logger.log(
              Level.SEVERE,
              String.format(Locale.ROOT, "Exception %s thrown while handling exception: %s", e2, e),
              e2);
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jul 17 16:01:41 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

       *     directly, or use a combination of {@link #throwIfUnchecked} and {@code throw new
       *     RuntimeException(e)}. But consider whether users would be better off if your API threw a
       *     different type of exception. For background on the deprecation, read <a
       *     href="https://goo.gl/Ivn2kc">Why we deprecated {@code Throwables.propagate}</a>.
       */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      private enum Outcome {
    
        /** The method returned normally and is either void or returned true. */
        SUCCESS,
    
        /** The method returned false. */
        FAILURE,
    
        /** The method threw an InterruptedException. */
        INTERRUPT,
    
        /** The method did not return or throw anything. */
        HANG;
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
Back to top