#

| Chapter 25 The java.lang Package |

## 25.22 java.lang.IllegalAccessError (JDK 1.0)

###

Signals an attempted use of a class, method, or variable that is not accessible.

    public class IllegalAccessError extends IncompatibleClassChangeError {
        // Public Constructors
                public IllegalAccessError();
                public IllegalAccessError(String s);
    }

### Hierarchy:

Object->Throwable(Serializable)->Error->LinkageError->IncompatibleClassChangeError->IllegalAccessError

java.lang.Float (JDK 1.0) |  | java.lang.IllegalAccessException (JDK 1.0)