Foundation 1.1.2

Uses of Class
java.lang.IllegalAccessException

Packages that use IllegalAccessException
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. 
 

Uses of IllegalAccessException in java.lang
 

Methods in java.lang that throw IllegalAccessException
 Object Class.newInstance()
          Creates a new instance of the class represented by this Class object.
 

Uses of IllegalAccessException in java.lang.reflect
 

Methods in java.lang.reflect that throw IllegalAccessException
 Object Constructor.newInstance(Object[] initargs)
          Uses the constructor represented by this Constructor object to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters.
 Object Method.invoke(Object obj, Object[] args)
          Invokes the underlying method represented by this Method object, on the specified object with the specified parameters.
 Object Field.get(Object obj)
          Returns the value of the field represented by this Field, on the specified object.
 boolean Field.getBoolean(Object obj)
          Gets the value of a static or instance boolean field.
 byte Field.getByte(Object obj)
          Gets the value of a static or instance byte field.
 char Field.getChar(Object obj)
          Gets the value of a static or instance field of type char or of another primitive type convertible to type char via a widening conversion.
 short Field.getShort(Object obj)
          Gets the value of a static or instance field of type short or of another primitive type convertible to type short via a widening conversion.
 int Field.getInt(Object obj)
          Gets the value of a static or instance field of type int or of another primitive type convertible to type int via a widening conversion.
 long Field.getLong(Object obj)
          Gets the value of a static or instance field of type long or of another primitive type convertible to type long via a widening conversion.
 float Field.getFloat(Object obj)
          Gets the value of a static or instance field of type float or of another primitive type convertible to type float via a widening conversion.
 double Field.getDouble(Object obj)
          Gets the value of a static or instance field of type double or of another primitive type convertible to type double via a widening conversion.
 void Field.set(Object obj, Object value)
          Sets the field represented by this Field object on the specified object argument to the specified new value.
 void Field.setBoolean(Object obj, boolean z)
          Sets the value of a field as a boolean on the specified object.
 void Field.setByte(Object obj, byte b)
          Sets the value of a field as a byte on the specified object.
 void Field.setChar(Object obj, char c)
          Sets the value of a field as a char on the specified object.
 void Field.setShort(Object obj, short s)
          Sets the value of a field as a short on the specified object.
 void Field.setInt(Object obj, int i)
          Sets the value of a field as an int on the specified object.
 void Field.setLong(Object obj, long l)
          Sets the value of a field as a long on the specified object.
 void Field.setFloat(Object obj, float f)
          Sets the value of a field as a float on the specified object.
 void Field.setDouble(Object obj, double d)
          Sets the value of a field as a double on the specified object.
 


Foundation 1.1.2

Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use of this specification is subject to license terms.