java.lang.Object java.lang.Throwable java.lang.Exception java.lang.InstantiationException
public class InstantiationException
Thrown when an application tries to create an instance of a class using the newInstance
method in class Class
, but the specified class object cannot be instantiated because it is an interface or is an abstract class.
Class.newInstance()
, Serialized Form
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
InstantiationException
public InstantiationException()
InstantiationException
with no detail message.
public InstantiationException(String s)
InstantiationException
with the specified detail message.
s
- the detail message.
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4