Home
last modified time | relevance | path

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

12

/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()
/libcore/ojluni/src/main/java/java/lang/
DNoSuchFieldException.java33 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.java2333 public Field getField(String name) throws NoSuchFieldException { in getField()
2337 throw new NoSuchFieldException(name); in getField()
2869 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/luni/src/main/java/libcore/internal/
DJava11LanguageFeatures.java62 NoSuchFieldException, IllegalAccessException { in greet()
69 private String greet() throws NoSuchFieldException, IllegalAccessException { in greet()
/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/luni/src/test/java/libcore/java/lang/invoke/
DVarHandleRefCastTest.java35 public void varhandleGetObjectAsInt() throws NoSuchFieldException, IllegalAccessException { in varhandleGetObjectAsInt()
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/java/lang/invoke/
DMethodHandleNatives.java524 } else if (ex instanceof NoSuchFieldException) { in mapLookupExceptionToError()
DMethodHandles.java1420 …ndle findGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findGetter()
1425 throws NoSuchFieldException, IllegalAccessException { in findAccessor()
1480 …ndle findSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findSetter()
1553 …e findVarHandle(Class<?> recv, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findVarHandle()
1564 throws NoSuchFieldException { in findFieldOfType()
1572 } catch (NoSuchFieldException e) { in findFieldOfType()
1583 throw new NoSuchFieldException(name); in findFieldOfType()
1622 …indStaticGetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findStaticGetter()
1645 …indStaticSetter(Class<?> refc, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findStaticSetter()
1720 …StaticVarHandle(Class<?> decl, String name, Class<?> type) throws NoSuchFieldException, IllegalAcc… in findStaticVarHandle()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java126 …ng.reflect.Field getField(java.lang.String name) throws java.lang.NoSuchFieldException { throw new… in getField()
144 …a.lang.reflect.Field getDeclaredField(java.lang.String name) throws java.lang.NoSuchFieldException; in getDeclaredField()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
DOldSHA1PRNGSecureRandomTest.java328 public final void testSetSeedbyteArray02() throws NoSuchFieldException, SecurityException, in testSetSeedbyteArray02()
362 public final void testSetSeedbyteArray03() throws NoSuchFieldException, SecurityException, in testSetSeedbyteArray03()
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java60 } catch (NoSuchFieldException e) {
/libcore/ojluni/src/test/java/util/Collections/
DSyncSubMutexes.java257 } catch ( ClassNotFoundException | NoSuchFieldException | IllegalAccessException e) { in getSyncCollectionMutex()
268 } catch ( ClassNotFoundException | NoSuchFieldException | IllegalAccessException e) { in getSyncMapMutex()
/libcore/ojluni/src/test/java/util/IdentityHashMap/
DCapacity.java61 } catch (NoSuchFieldException e) {
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java125 …eld(@libcore.util.NonNull java.lang.String name) throws java.lang.NoSuchFieldException { throw new… in getField()
139 …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/luni/src/test/java/libcore/java/lang/
DClassTest.java150 } catch (NoSuchFieldException e) { in getField()
155 } catch (NoSuchFieldException e) { in getField()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestClock_System.java282 } catch (ClassNotFoundException | NoSuchFieldException ex) {
/libcore/libart/src/main/java/java/lang/
DDaemons.java420 } catch (NoSuchFieldException | IllegalAccessException e) {
/libcore/luni/src/test/java/libcore/xml/
DXmlToSax2DriverTest.java201 public void testGetIndex() throws NoSuchFieldException, IllegalAccessException { in testGetIndex()

12