Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.lang

Class InstantiationException

java.lang.Object
|
+--java.lang.Throwable
   |
   +--java.lang.Exception
      |
      +--java.lang.InstantiationException


public class InstantiationException

extends Exception

Thrown when an attempt is made to use reflection to build a non-instantiable class (an interface or abstract class).

Authors:See Also:

Constructor Summary

InstantiationException()

Create an exception without a message.
InstantiationException(java.lang.String s)

Create an exception with a message.

Constructor Details

InstantiationException

public InstantiationException()

Create an exception without a message.


InstantiationException

public InstantiationException(java.lang.String s)

Create an exception with a message.

Parameters: