Home » openjdk-7 » java » lang » [javadoc | source]
java.lang
public class: IllegalAccessException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.lang.ReflectiveOperationException
            java.lang.IllegalAccessException

All Implemented Interfaces:
    Serializable

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.
Fields inherited from java.lang.ReflectiveOperationException:
serialVersionUID
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public IllegalAccessException() 
 public IllegalAccessException(String s) 
    Constructs an IllegalAccessException with a detail message.
    Parameters:
    s - the detail message.
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait