java.lang
Class IllegalAccessException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.IllegalAccessException
All Implemented Interfaces:
Serializable

public class IllegalAccessException
extends Exception

Untamed: 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.

Since:
JDK1.0
Version:
1.12, 12/03/01
Author:
unascribed
See Also:
Class.newInstance(), java.lang.reflect.Field#set(Object, Object), java.lang.reflect.Field#setBoolean(Object, boolean), java.lang.reflect.Field#setByte(Object, byte), java.lang.reflect.Field#setShort(Object, short), java.lang.reflect.Field#setChar(Object, char), java.lang.reflect.Field#setInt(Object, int), java.lang.reflect.Field#setLong(Object, long), java.lang.reflect.Field#setFloat(Object, float), java.lang.reflect.Field#setDouble(Object, double), java.lang.reflect.Field#get(Object), java.lang.reflect.Field#getBoolean(Object), java.lang.reflect.Field#getByte(Object), java.lang.reflect.Field#getShort(Object), java.lang.reflect.Field#getChar(Object), java.lang.reflect.Field#getInt(Object), java.lang.reflect.Field#getLong(Object), java.lang.reflect.Field#getFloat(Object), java.lang.reflect.Field#getDouble(Object), java.lang.reflect.Method#invoke(Object, Object[]), java.lang.reflect.Constructor#newInstance(Object[]), Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
serialVersionUID
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
IllegalAccessException()
          Enabled: Constructs an IllegalAccessException without a detail message.
IllegalAccessException(String s)
          Enabled: Constructs an IllegalAccessException with a detail message.
 
Methods inherited from class java.lang.Throwable
backtrace, eStack, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, javaStack, leaf, printStackTrace, printStackTrace, printStackTrace, printThrowableOn, setStackTrace, toString, unwrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalAccessException

public IllegalAccessException()
Enabled: Constructs an IllegalAccessException without a detail message.


IllegalAccessException

public IllegalAccessException(String s)
Enabled: Constructs an IllegalAccessException with a detail message.

Parameters:
s - the detail message.


comments?