Class java.lang.InstantiationException
All Packages Class Hierarchy This Package Previous Next Index
Class java.lang.InstantiationException
Object
|
+----Throwable
|
+----Exception
|
+----java.lang.InstantiationException
- public class InstantiationException
- extends Exception
Thrown when an application tries to create an instance of a class
using the newInstance method in class
Class, but the specified class object cannot be
instantiated because it is an interface or is an abstract class.
- Version:
- 1.10, 07/01/98
- Author:
- unascribed
- Since:
- JDK1.0
- See Also:
- newInstance()
-
java.lang.InstantiationException()
- Constructs an
InstantiationException with no detail message.
-
java.lang.InstantiationException(String)
- Constructs an
InstantiationException with the
specified detail message.
InstantiationException
public InstantiationException()
- Constructs an
InstantiationException with no detail message.
- Since:
- JDK1.0
InstantiationException
public InstantiationException(String s)
- Constructs an
InstantiationException with the
specified detail message.
- Parameters:
- s - the detail message.
- Since:
- JDK1.0
All Packages Class Hierarchy This Package Previous Next Index