Class java.lang.InstantiationException
All Packages Class Hierarchy This Package Previous Next Index
Class java.lang.InstantiationException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.InstantiationException
- public class InstantiationException
- extends Exception
Signals that an attempt has been made to instantiate an abstract class or
an interface.
- InstantiationException()
- Constructs an InstantiationException with no detail message.
- InstantiationException(String)
- Constructs an InstantiationException with the specified detail message.
InstantiationException
public InstantiationException()
- Constructs an InstantiationException with no detail message.
A detail message is a String that describes this particular exception.
InstantiationException
public InstantiationException(String s)
- Constructs an InstantiationException with the specified detail message.
A detail message is a String that describes this particular exception.
- Parameters:
- s - the String containing a detail message
All Packages Class Hierarchy This Package Previous Next Index