Name

java.lang.InstantiationException

Synopsis

This exception is identical to its J2SE counterpart. It is thrown when an attempt is made to instantiate an interface or an abstract class.

public classInstantiationException extends java.lang.Exception {
   // constructors
   public InstantiationException();
   public InstantiationException(String s);
}

Get Wireless Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.