Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 41 for NoSuchMethodException (0.09 seconds)

  1. 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 exist
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

        platform.assumeJdk8()
        try {
          SSLSocket::class.java.getMethod("getApplicationProtocol")
          // also present on JDK8 after build 252.
          assertThat(buildIfSupported()).isNotNull()
        } catch (nsme: NoSuchMethodException) {
          assertThat(buildIfSupported()).isNull()
        }
      }
    
      @Test
      fun testToStringIsClassname() {
        assertThat(Jdk9Platform().toString()).isEqualTo("Jdk9Platform")
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        }
    
        private static Method subscriberMethod() {
          try {
            return DummySubscriber.class.getMethod("handle", Object.class);
          } catch (NoSuchMethodException e) {
            throw new AssertionError(e);
          }
        }
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java

    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.lang.reflect.Constructor;
    
    import org.codelibs.core.lang.MethodUtil;
    
    /**
     * Exception that wraps a {@link NoSuchMethodException} thrown when a {@link Constructor} cannot be found.
     *
     * @author higa
     */
    public class NoSuchConstructorRuntimeException extends ClRuntimeException {
    
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java

        try {
          DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
          DELEGATE_METHOD.setAccessible(true);
        } catch (SecurityException e) {
          throw new RuntimeException(e);
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      /**
       * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. 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)
Back to Top