public class InstantiationException extends Exception
newInstancemethod 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:
|Constructor and Description|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, toString
InstantiationExceptionwith no detail message.
public InstantiationException(String s)
InstantiationExceptionwith 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.