Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,853 for Throw (0.37 sec)

  1. 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) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  2. 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) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/MathPreconditions.java

      @CanIgnoreReturnValue
      static int checkPositive(String role, int x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static long checkPositive(String role, long x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestNGExecutionResult.groovy

            throw new UnsupportedOperationException()
        }
    
        TestClassExecutionResult assertTestsSkipped(String... testNames) {
            throw new UnsupportedOperationException()
        }
    
        @Override
        TestClassExecutionResult assertTestPassed(String name, String displayName) {
            throw new UnsupportedOperationException()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          cause.setStackTrace(combined);
        }
        if (cause instanceof Exception) {
          throw (Exception) cause;
        }
        if (cause instanceof Error) {
          throw (Error) cause;
        }
        // The cause is a weird kind of Throwable, so throw the outer exception.
        throw e;
      }
    
      private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 27 14:21:11 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/sftp/SftpDirectoryResource.groovy

            throw new UnsupportedOperationException()
        }
    
        void expectDownloadBroken() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectParentMkdir() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectParentCheckdir() {
            throw new UnsupportedOperationException()
        }
    
        @Override
        void expectUpload() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/AbstractPlatformToolProvider.java

            throw unavailableTool("Objective-C compiler is not available");
        }
    
        protected Compiler<?> createWindowsResourceCompiler() {
            throw unavailableTool("Windows resource compiler is not available");
        }
    
        protected Compiler<?> createAssembler() {
            throw unavailableTool("Assembler is not available");
        }
    
        protected Compiler<?> createLinker() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java

                throw new UnsupportedOperationException();
            }
    
            @Override
            public ProcessForkOptions executable(Object executable) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public JavaForkOptions systemProperties(Map<String, ?> properties) {
                throw new UnsupportedOperationException();
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 10 06:16:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

          cause.setStackTrace(combined);
        }
        if (cause instanceof Exception) {
          throw (Exception) cause;
        }
        if (cause instanceof Error) {
          throw (Error) cause;
        }
        // The cause is a weird kind of Throwable, so throw the outer exception.
        throw e;
      }
    
      private static Set<Method> findInterruptibleMethods(Class<?> interfaceType) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 27 14:21:11 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/MathPreconditions.java

      @CanIgnoreReturnValue
      static int checkPositive(String role, int x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
      @CanIgnoreReturnValue
      static long checkPositive(String role, long x) {
        if (x <= 0) {
          throw new IllegalArgumentException(role + " (" + x + ") must be > 0");
        }
        return x;
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.3K bytes
    - Viewed (0)
Back to top