Home
last modified time | relevance | path

Searched refs:NoSuchFieldException (Results 1 – 22 of 22) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DNoSuchFieldExceptionTest.java28 NoSuchFieldException e = new NoSuchFieldException(); in test_Constructor()
38 NoSuchFieldException e = new NoSuchFieldException("fixture"); in test_ConstructorLjava_lang_String()
DClassTest.java330 } catch (NoSuchFieldException e) { in test_getFieldLjava_lang_String()
/libcore/ojluni/src/main/java/java/lang/
DNoSuchFieldException.java34 public class NoSuchFieldException extends ReflectiveOperationException { class
40 public NoSuchFieldException() { in NoSuchFieldException() method in NoSuchFieldException
49 public NoSuchFieldException(String s) { in NoSuchFieldException() method in NoSuchFieldException
DClass.java1598 throws NoSuchFieldException { in getField()
1604 throw new NoSuchFieldException(name); in getField()
1991 public native Field getDeclaredField(String name) throws NoSuchFieldException; in getDeclaredField()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DFieldTest.java53 public void testSyntheticModifier() throws NoSuchFieldException { in testSyntheticModifier()
63 public void testEnumValueField() throws NoSuchFieldException { in testEnumValueField()
79 public void testTransientModifier() throws NoSuchFieldException { in testTransientModifier()
90 public void testToGenericString() throws NoSuchFieldException { in testToGenericString()
DMissingClassesTest.java62 public void testGetFieldFails() throws NoSuchFieldException { in testGetFieldFails()
DReflectionTest.java192 } catch (NoSuchFieldException expected) { in testGetFieldNotFound()
200 } catch (NoSuchFieldException expected) { in testGetDeclaredFieldNotFound()
229 } catch (NoSuchFieldException expected) { in testGetDeclaredFieldIsNotRecursive()
238 } catch (NoSuchFieldException expected) { in testGetFieldIsPublicOnly()
243 } catch (NoSuchFieldException expected) { in testGetFieldIsPublicOnly()
248 } catch (NoSuchFieldException expected) { in testGetFieldIsPublicOnly()
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java69 …ndle findGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findGetter()
71 …ndle findSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findSetter()
73 …indStaticGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findStaticGetter()
75 …indStaticSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findStaticSetter()
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java464 throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException { in findGetter()
470 throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException { in findAccessor()
486 throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException { in findSetter()
492 throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException { in findVarHandle()
498 throws java.lang.NoSuchFieldException { in findFieldOfType()
514 throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException { in findStaticGetter()
520 throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException { in findStaticSetter()
526 throws java.lang.IllegalAccessException, java.lang.NoSuchFieldException { in findStaticVarHandle()
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java1201 …ndle findGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findGetter()
1206 throws NoSuchFieldException, IllegalAccessException { in findAccessor()
1261 …ndle findSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findSetter()
1335 …e findVarHandle(Class<?> recv, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findVarHandle()
1346 throws NoSuchFieldException { in findFieldOfType()
1354 } catch (NoSuchFieldException e) { in findFieldOfType()
1365 throw new NoSuchFieldException(name); in findFieldOfType()
1404 …indStaticGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findStaticGetter()
1427 …indStaticSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findStaticSetter()
1503 …StaticVarHandle(Class<?> decl, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findStaticVarHandle()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
DOldSHA1PRNGSecureRandomTest.java324 public final void testSetSeedbyteArray02() throws NoSuchFieldException, SecurityException, in testSetSeedbyteArray02()
358 public final void testSetSeedbyteArray03() throws NoSuchFieldException, SecurityException, in testSetSeedbyteArray03()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java127 …ng.reflect.Field getField(java.lang.String name) throws java.lang.NoSuchFieldException { throw new… in getField()
147 …a.lang.reflect.Field getDeclaredField(java.lang.String name) throws java.lang.NoSuchFieldException; in getDeclaredField()
/libcore/luni/src/test/java/libcore/java/lang/
DClassTest.java106 } catch (NoSuchFieldException e) { in test_getField()
111 } catch (NoSuchFieldException e) { in test_getField()
DOldClassTest.java675 } catch(NoSuchFieldException nsfe) { in test_getDeclaredFieldLjava_lang_String()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleAccessorsTest.java725 } catch (NoSuchFieldException e) { fail(); } in testLookup()
729 } catch (NoSuchFieldException e) { fail(); } in testLookup()
733 } catch (NoSuchFieldException e) {} in testLookup()
737 } catch (NoSuchFieldException e) {} in testLookup()
747 } catch (NoSuchFieldException e) {} in testLookup()
751 } catch (NoSuchFieldException e) {} in testLookup()
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java60 } catch (NoSuchFieldException e) {
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java122 …eld(@libcore.util.NonNull java.lang.String name) throws java.lang.NoSuchFieldException { throw new… in getField()
136 …etDeclaredField(@libcore.util.NonNull java.lang.String name) throws java.lang.NoSuchFieldException; in getDeclaredField()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java224 throws java.lang.NoSuchFieldException { in getField()
263 throws java.lang.NoSuchFieldException; in getDeclaredField()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java43 } catch (NoSuchFieldException ex) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DFieldTest.java398 } catch (NoSuchFieldException e) { in testProtectedFieldAccess()
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java1679 } catch (NoSuchFieldException ex) { in getDeclaredSerialFields()
/libcore/
Dopenjdk_java_files.bp165 "ojluni/src/main/java/java/lang/NoSuchFieldException.java",