Package java.lang

Class ReflectiveOperationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.ReflectiveOperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException, NoSuchFieldException, NoSuchMethodException

public class ReflectiveOperationException
extends Exception
Superclass of exceptions related to reflection.
Since:
1.7
See Also:
Serialized Form
  • Constructor Details

    • ReflectiveOperationException

      public ReflectiveOperationException()
      Constructs a new exception with no detail message.
    • ReflectiveOperationException

      public ReflectiveOperationException​(String message)
      Constructs a new exception with the given detail message.
    • ReflectiveOperationException

      public ReflectiveOperationException​(Throwable cause)
      Constructs a new exception with the given cause.
    • ReflectiveOperationException

      public ReflectiveOperationException​(String message, Throwable cause)
      Constructs a new exception with the given detail message and cause.