- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 21 for NoSuchMethodException (0.23 seconds)
-
src/test/java/jcifs/SmbResourceTest.java
} @Test @DisplayName("SmbResource should have all required methods") void testRequiredMethods() throws NoSuchMethodException { // Given Class<SmbResource> clazz = SmbResource.class; // When/Then - Verify essential methods existCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
while (clazz != null) { try { return clazz.getDeclaredMethod(methodName, paramTypes); } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchMethodException("Method " + methodName + " not found"); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
assertTrue(jcifs.Decodable.class.isAssignableFrom(AllocInfo.class)); } @Test @DisplayName("Should define getCapacity method") void shouldDefineGetCapacityMethod() throws NoSuchMethodException { // Verify method exists with correct signature assertNotNull(AllocInfo.class.getMethod("getCapacity"));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
while (clazz != null) { try { return clazz.getDeclaredMethod(methodName, paramTypes); } catch (NoSuchMethodException e) { clazz = clazz.getSuperclass(); } } throw new NoSuchMethodException("Method " + methodName + " not found"); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 25.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Context.java
inquireSecContextPrep = extendedGSSContextClassPrep.getMethod("inquireSecContext", inquireTypeClass); } catch (ClassNotFoundException | NoSuchMethodException | RuntimeException ex) { if (log.isDebugEnabled()) { log.debug("Failed to initalize ExtendedGSSContext initializdation for OracleJDK / OpenJDK", ex); } }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 13.5K bytes - Click Count (1) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
if (!methodInfo.upcast) { methodInfo.tryUpcasting(clazz); upcastCount++; } } catch (NoSuchMethodException e) { // Intentionally ignored - it means it wasn't found in the current class } } /* * Short circuit if all methods were upcast
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
testClass.getMethod(testName); return true; } catch (NoSuchMethodException e) { continue; } } return false; } private static boolean isEqualsDefined(Class<?> cls) { try { return !cls.getDeclaredMethod("equals", Object.class).isSynthetic(); } catch (NoSuchMethodException e) { return false; } } abstract static class Chopper {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 17.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
throws NoSuchConstructorRuntimeException { assertArgumentNotNull("clazz", clazz); try { return clazz.getConstructor(argTypes); } catch (final NoSuchMethodException e) { throw new NoSuchConstructorRuntimeException(clazz, argTypes, e); } } /**Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 25.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
Constructor<?> ctor = cls.getDeclaredConstructor(paramTypes); ctor.setAccessible(true); return ctor.newInstance(args); } catch (ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) { throw new AssertionError(e); } } // Utility to invoke a private method reflectively
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
} catch (InvocationTargetException e) { throwIfUnchecked(e.getCause()); // in case it's an Error or something return fromSystemProperty; // should be impossible } catch (NoSuchMethodException | IllegalAccessException shouldBeImpossible) { return fromSystemProperty; } } } private static final class JavaIoCreator extends TempFileCreator { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0)