Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for NoSuchFieldException (0.14 seconds)

  1. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            Class<?> current = clazz;
            while (current != null) {
                try {
                    return current.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    current = current.getSuperclass();
                }
            }
            throw new NoSuchFieldException(fieldName);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            // Initialize NameQueryResponse before each test
            nameQueryResponse = new NameQueryResponse(mockConfig);
        }
    
        @Test
        void constructor_shouldInitializeRecordName() throws NoSuchFieldException, IllegalAccessException {
            // Verify that the 'recordName' field in the superclass (NameServicePacket) is initialized
            Field recordNameField = NameServicePacket.class.getDeclaredField("recordName");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

                        try {
                            field = clazz.getDeclaredField(fieldName);
                        } catch (NoSuchFieldException e) {
                            clazz = clazz.getSuperclass();
                        }
                    }
                    if (field == null) {
                        throw new NoSuchFieldException(fieldName);
                    }
                    field.setAccessible(true);
                    field.set(this, value);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbTransportImplTest.java

            Class<?> current = clazz;
            while (current != null) {
                try {
                    return current.getDeclaredField(name);
                } catch (NoSuchFieldException e) {
                    current = current.getSuperclass();
                }
            }
            throw new NoSuchFieldException(name);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        }
    
        private Field getField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException("Field " + fieldName + " not found");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        }
    
        private Field getField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException("Field " + fieldName + " not found");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        private Field getSuperclassField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException("Field " + fieldName + " not found");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        private Field getSuperclassField(Class<?> clazz, String fieldName) throws NoSuchFieldException {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException("Field " + fieldName + " not found");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

    @GwtCompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    // Some Android 5.0.x Samsung devices have bugs in JDK reflection APIs that cause
    // getDeclaredField to throw a NoSuchFieldException when the field is definitely there.
    // Since this class only needs CAS on one field, we can avoid this bug by extending AtomicReference
    // instead of using an AtomicReferenceFieldUpdater. This reference stores Thread instances
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 10K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/PreauthIntegrityTest.java

        }
    
        private Field findField(Class<?> clazz, String fieldName) {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredField(fieldName);
                } catch (NoSuchFieldException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            return null;
        }
    
        private Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 10.5K bytes
    - Click Count (0)
Back to Top