- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 31 for NoSuchFieldException (0.34 seconds)
-
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.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 1.9K bytes - Click Count (0) -
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) -
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); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Enums.java
*/ public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try { return clazz.getDeclaredField(enumValue.name()); } catch (NoSuchFieldException impossible) { throw new AssertionError(impossible); } } /** * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
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) -
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()));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
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) -
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()));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Enums.java
*/ public static Field getField(Enum<?> enumValue) { Class<?> clazz = enumValue.getDeclaringClass(); try { return clazz.getDeclaredField(enumValue.name()); } catch (NoSuchFieldException impossible) { throw new AssertionError(impossible); } } /** * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
servernameField.setAccessible(true); String servername = (String) servernameField.get(shareEnum); assertEquals("\\\\" + TEST_SERVER_NAME, servername); } catch (NoSuchFieldException | IllegalAccessException e) { fail("Failed to access servername field: " + e.getMessage()); } } @Test void testGetEntriesWithMultipleShares() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0)