public class IllegalAccessException extends ReflectiveOperationException
Class.newInstance()
,
Field.set(Object, Object)
,
Field.setBoolean(Object, boolean)
,
Field.setByte(Object, byte)
,
Field.setShort(Object, short)
,
Field.setChar(Object, char)
,
Field.setInt(Object, int)
,
Field.setLong(Object, long)
,
Field.setFloat(Object, float)
,
Field.setDouble(Object, double)
,
Field.get(Object)
,
Field.getBoolean(Object)
,
Field.getByte(Object)
,
Field.getShort(Object)
,
Field.getChar(Object)
,
Field.getInt(Object)
,
Field.getLong(Object)
,
Field.getFloat(Object)
,
Field.getDouble(Object)
,
Method.invoke(Object, Object[])
,
Constructor.newInstance(Object[])
,
Serialized FormConstructor and Description |
---|
IllegalAccessException()
Constructs an
IllegalAccessException without a
detail message. |
IllegalAccessException(String s)
Constructs an
IllegalAccessException with a detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public IllegalAccessException()
IllegalAccessException
without a
detail message.public IllegalAccessException(String s)
IllegalAccessException
with a detail message.s
- the detail message. 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, 2020, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.