Uses of Class
java.lang.ReflectiveOperationException
-
Packages that use ReflectiveOperationException Package Description java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. -
-
Uses of ReflectiveOperationException in java.lang
Subclasses of ReflectiveOperationException in java.lang Modifier and Type Class and Description class
ClassNotFoundException
Thrown when an application tries to load in a class through its string name using: TheforName
method in classClass
.class
IllegalAccessException
An IllegalAccessException is thrown when an application tries to reflectively create an instance (other than an array), set or get a field, or invoke a method, but the currently executing method does not have access to the definition of the specified class, field, method or constructor.class
InstantiationException
Thrown when an application tries to create an instance of a class using thenewInstance
method in classClass
, but the specified class object cannot be instantiated.class
NoSuchFieldException
Signals that the class doesn't have a field of a specified name.class
NoSuchMethodException
Thrown when a particular method cannot be found. -
Uses of ReflectiveOperationException in java.lang.reflect
Subclasses of ReflectiveOperationException in java.lang.reflect Modifier and Type Class and Description class
InvocationTargetException
InvocationTargetException is a checked exception that wraps an exception thrown by an invoked method or constructor.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.