|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.InstantiationException
public class InstantiationException
Thrown when an attempt is made to use reflection to build a non-instantiable class (an interface or abstract class).
Class.newInstance()
Constructor Summary | |
---|---|
InstantiationException()
Create an exception without a message. |
|
InstantiationException(String s)
Create an exception with a message. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
getCause, getLocalizedMessage, getMessage, initCause, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstantiationException()
public InstantiationException(String s)
s
- the message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |