APIdia Launch Partner
Top Description Fields Constructors
java.lang.reflect

public Class InaccessibleObjectException

extends RuntimeException
Class Inheritance

Thrown when Java language access checks cannot be suppressed.
Since
9
See Also
AccessibleObject#setAccessible(boolean)

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
InaccessibleObjectException()

Constructs an InaccessibleObjectException with no detail message.

public
InaccessibleObjectException(String
The detail message, may be null
msg
)

Constructs an InaccessibleObjectException with the given detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.RuntimeException.serialVersionUID.

Annotations
@Serial

Constructor Detail

InaccessibleObjectExceptionback to summary
public InaccessibleObjectException()

Constructs an InaccessibleObjectException with no detail message.

InaccessibleObjectExceptionback to summary
public InaccessibleObjectException(String msg)

Constructs an InaccessibleObjectException with the given detail message.

Parameters
msg:String

The detail message, may be null