Intel

Developer Zone

IllegalAccessException

java.lang

Class 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 Detail

      • IllegalAccessException

        public IllegalAccessException()
        Constructs a new IllegalAccessException that includes the current stack trace.
      • IllegalAccessException

        public IllegalAccessException(String detailMessage)
        Constructs a new IllegalAccessException with the current stack trace and the specified detail message.
        Parameters:
        detailMessage - the detail message for this exception.