java.lang
Class IllegalAccessException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.IllegalAccessException
-
public class IllegalAccessException extends Exception
Thrown when a program attempts to access a field or method which is not accessible from the location where the reference is made.
-
-
Constructor Summary
Constructors Constructor and Description IllegalAccessException()
Constructs a newIllegalAccessException
that includes the current stack trace.IllegalAccessException(String detailMessage)
Constructs a newIllegalAccessException
with the current stack trace and the specified detail message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, getStackTrace, printStackTrace, printStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalAccessException
public IllegalAccessException()
Constructs a newIllegalAccessException
that includes the current stack trace.
-
IllegalAccessException
public IllegalAccessException(String detailMessage)
Constructs a newIllegalAccessException
with the current stack trace and the specified detail message.- Parameters:
detailMessage
- the detail message for this exception.
-
-