- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ParameterNotInstantiableException (0.12 sec)
-
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
private static @Nullable Object generateDummyArg(Parameter param, FreshValueGenerator generator) throws ParameterNotInstantiableException { if (isNullable(param)) { return null; } Object arg = generator.generateFresh(param.getType()); if (arg == null) { throw new ParameterNotInstantiableException(param); } return arg; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
assertThrows( ParameterNotInstantiableException.class, () -> tester.instantiate(ConstructorParameterNotInstantiable.class)); } public void testInstantiate_factoryMethodParameterNotInstantiable() throws Exception { assertThrows( ParameterNotInstantiableException.class, () -> tester.instantiate(FactoryMethodParameterNotInstantiable.class));
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.3K bytes - Viewed (0)