public class InstantiationException extends Exception
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
 Class.newInstance()| Constructor and Description | 
|---|
InstantiationException()
Constructs an  
InstantiationException with no detail message. | 
InstantiationException(String s)
Constructs an  
InstantiationException with the
 specified detail message. | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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.Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.