Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,693 for threw (0.02 sec)

  1. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                mkdirsAndWriteText(
                    """
                class FlakyTest {
                    @org.junit.jupiter.api.Test
                    public void test() {
                        ${if (fail) "throw new IllegalStateException();" else ""}
                    }
                }
                    """.trimIndent()
                )
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ClassUtil.java

            try {
                return clazz.newInstance();
            } catch (final InstantiationException e) {
                throw new InstantiationRuntimeException(clazz, e);
            } catch (final IllegalAccessException e) {
                throw new IllegalAccessRuntimeException(clazz, e);
            }
        }
    
        /**
         * 指定されたクラスをコンテキストクラスローダから取得し、デフォルトコンストラクタで、クラスの新しいインスタンスを作成および初期化します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

        } catch (Exception e) {
          throw new IllegalArgumentException("Error extracting features from tester annotation.", e);
        }
        Set<Feature<?>> allPresentFeatures = addImpliedFeatures(copyToSet(presentFeatures));
        Set<Feature<?>> allAbsentFeatures = copyToSet(absentFeatures);
        if (!disjoint(allPresentFeatures, allAbsentFeatures)) {
          throw new ConflictingRequirementsException(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ContiguousSet.java

          }
          if (!range.hasUpperBound()) {
            effectiveRange = effectiveRange.intersection(Range.atMost(domain.maxValue()));
          }
        } catch (NoSuchElementException e) {
          throw new IllegalArgumentException(e);
        }
    
        boolean empty;
        if (effectiveRange.isEmpty()) {
          empty = true;
        } else {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

      static PublicSuffixType fromCode(char code) {
        for (PublicSuffixType value : values()) {
          if (value.getInnerNodeCode() == code || value.getLeafNodeCode() == code) {
            return value;
          }
        }
        throw new IllegalArgumentException("No enum corresponding to given code: " + code);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 10 15:48:57 UTC 2020
    - 2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

                try (InputStream in = Files.newInputStream(userToolchainsFile.toPath())) {
                    toolchains = new PersistedToolchains(new MavenToolchainsStaxReader().read(in));
                } catch (Exception e) {
                    throw new MisconfiguredToolchainException(
                            "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e);
                }
    
            } else if (userToolchainsFile != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/IoTestCase.java

      private File getTestDir() throws IOException {
        if (testDir != null) {
          return testDir;
        }
    
        URL testFileUrl = IoTestCase.class.getResource("testdata/i18n.txt");
        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
      private static EdgeType oppositeType(EdgeType edgeType) {
        switch (edgeType) {
          case UNDIRECTED:
            return EdgeType.DIRECTED;
          case DIRECTED:
            return EdgeType.UNDIRECTED;
        }
        throw new IllegalStateException("Unexpected edge type: " + edgeType);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/exbhv/UserBhv.java

                return result;
            } catch (InstantiationException | IllegalAccessException e) {
                final String msg = "Cannot create a new instance: " + entityType.getName();
                throw new IllegalBehaviorStateException(msg, e);
            }
        }
    
        private boolean isAttribute(final String key) {
            return !NAME.equals(key) && !PASSWORD.equals(key) && !GROUPS.equals(key) && !ROLES.equals(key);
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top