Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for NoSuchFieldException (1.23 sec)

  1. src/main/java/org/codelibs/core/exception/NoSuchFieldRuntimeException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    /**
     * Exception that wraps {@link NoSuchFieldException}.
     *
     * @author higa
     */
    public class NoSuchFieldRuntimeException extends ClRuntimeException {
    
        private static final long serialVersionUID = 6609175673610180338L;
    
        /**
         * The target class.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            boolean hasSerialVersionUID = false;
            try {
                CurlException.class.getDeclaredField("serialVersionUID");
                hasSerialVersionUID = true;
            } catch (NoSuchFieldException e) {
                // Field doesn't exist
            }
            assertTrue("CurlException should have serialVersionUID field", hasSerialVersionUID);
        }
    
        @Test
        public void testExceptionChaining() {
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. 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");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

                    field.setAccessible(true);
                    return field.get(obj);
                } catch (NoSuchFieldException e) {
                    // Try parent class
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException("Field " + fieldName + " not found in class hierarchy");
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

                flagsField.setAccessible(true);
                assertEquals(0x01 | 0x02, flagsField.get(msrpcSamrOpenAlias),
                        "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
            } catch (NoSuchFieldException | IllegalAccessException e) {
                throw new RuntimeException("Failed to access protected fields via reflection", e);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/https/HandlerTest.java

                assertEquals(443, Handler.DEFAULT_HTTPS_PORT);
            }
    
            @Test
            @DisplayName("DEFAULT_HTTPS_PORT should be public static final")
            void testDefaultHttpsPortModifiers() throws NoSuchFieldException {
                // When
                var field = Handler.class.getField("DEFAULT_HTTPS_PORT");
    
                // Then
                assertTrue(Modifier.isPublic(field.getModifiers()));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. 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");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  8. 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");
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

                    field.setAccessible(true);
                    return field.get(obj);
                } catch (NoSuchFieldException e) {
                    // Try parent class
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException("Field " + fieldName + " not found in class hierarchy");
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/https/HandlerTest.java

                assertEquals(443, Handler.DEFAULT_HTTPS_PORT);
            }
    
            @Test
            @DisplayName("DEFAULT_HTTPS_PORT should be public static final")
            void testDefaultHttpsPortModifiers() throws NoSuchFieldException {
                // When
                var field = Handler.class.getField("DEFAULT_HTTPS_PORT");
    
                // Then
                assertTrue(Modifier.isPublic(field.getModifiers()));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
Back to top