Intel

Developer Zone

InstantiationException

java.lang

Class InstantiationException



  • public class InstantiationException
    extends Exception
    Thrown when a program attempts to access a constructor which is not accessible from the location where the reference is made.
    • Constructor Detail

      • InstantiationException

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

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