public class InstantiationException extends ReflectiveOperationException
newInstance
 method in class Class, but the specified class object cannot be instantiated. The
 instantiation can fail for a variety of reasons including but not limited to:
 void
 | Constructor and Description | 
|---|
| InstantiationException()Constructs an  InstantiationExceptionwith no detail message. | 
| InstantiationException(String s)Constructs an  InstantiationExceptionwith the specified detail message. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, toStringpublic InstantiationException()
InstantiationException with no detail message.public InstantiationException(String s)
InstantiationException with the specified detail message.s - the detail message.