- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for NoSuchFieldException (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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) -
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) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Then assertNotNull(msrpcSamrConnect2, "MsrpcSamrConnect2 should be created successfully"); } @Test @DisplayName("Should set ptype field to 0") void shouldSetPtypeToZero() throws NoSuchFieldException, IllegalAccessException { // When MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle); // Then - Use reflection to verify protected fieldCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
* Verifies that the constructor correctly initializes the object's fields using reflection for protected members. */ @Test void testConstructor() throws NoSuchFieldException, IllegalAccessException { // Create an instance of the class to be tested MsrpcGetMembersInAlias request = new MsrpcGetMembersInAlias(aliasHandle, sids);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
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) -
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() {Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Jul 31 01:01:12 GMT 2025 - 4.2K bytes - Click Count (0) -
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/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) -
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)