<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.lang.IllegalAccessException
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.lang.html">This Package</a>  <a href="java.lang.Exception.html#_top_">Previous</a>  <a href="java.lang.IllegalArgumentException.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.lang.IllegalAccessException
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.lang.Throwable.html#_top_">java.lang.Throwable</a>
           |
           +----<a href="java.lang.Exception.html#_top_">java.lang.Exception</a>
                   |
                   +----java.lang.IllegalAccessException
</pre>
<hr>
<dl>
  <dt> public class <b>IllegalAccessException</b>
  <dt> extends <a href="java.lang.Exception.html#_top_">Exception</a>
</dl>
Thrown when an application tries to load in a class through its 
 string name using:
 <ul>
 <li>The <code>forName</code> method in class <code>Class</code>.
 <li>The <code>findSystemClass</code> method in class 
     <code>ClassLoader</code>.
 <li>The <code>loadClass</code> method in class <code>ClassLoader</code>.
 </ul>
 <p>
 but the currently executing method does not have access to the 
 definition of the specified class, because the class is not public 
 and in another package. 
 <p>
 An instance of this class can also be thrown when an application 
 tries to create an instance of a class using the 
 <code>newInstance</code> method in class <code>Class</code>, but 
 the current method does not have access to the appropriate 
 zero-argument constructor.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.lang.Class.html#forName(java.lang.String)">forName</a>, <a href="java.lang.Class.html#newInstance()">newInstance</a>, <a href="java.lang.ClassLoader.html#findSystemClass(java.lang.String)">findSystemClass</a>, <a href="java.lang.ClassLoader.html#loadClass(java.lang.String, boolean)">loadClass</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#IllegalAccessException()"><b>IllegalAccessException</b></a>()
  <dd>  Constructs an <code>IllegalAccessException</code> without a 
 detail message.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#IllegalAccessException(java.lang.String)"><b>IllegalAccessException</b></a>(String)
  <dd>  Constructs an <code>IllegalAccessException</code> with a detail message.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="IllegalAccessException"></a>
<a name="IllegalAccessException()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>IllegalAccessException</b>
<pre>
 public IllegalAccessException()
</pre>
<dl>
  <dd> Constructs an <code>IllegalAccessException</code> without a 
 detail message.
<p>
</dl>
<a name="IllegalAccessException(java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>IllegalAccessException</b>
<pre>
 public IllegalAccessException(<a href="java.lang.String.html#_top_">String</a> s)
</pre>
<dl>
  <dd> Constructs an <code>IllegalAccessException</code> with a detail message.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> s - the detail message.
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.lang.html">This Package</a>  <a href="java.lang.Exception.html#_top_">Previous</a>  <a href="java.lang.IllegalArgumentException.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
