java.lang

Class 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).

See Also: newInstance

UNKNOWN: updated to 1.4

Constructor Summary
InstantiationException()
Create an exception without a message.
InstantiationException(String s)
Create an exception with a message.

Constructor Detail

InstantiationException

public InstantiationException()
Create an exception without a message.

InstantiationException

public InstantiationException(String s)
Create an exception with a message.

Parameters: s the message