Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
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.
Since: JDK1.0, CLDC 1.0 See Also:Class.newInstance()
Constructors
public InstantiationException() | Constructs an InstantiationException with no detail message. |
public InstantiationException(String s) | Constructs an InstantiationException with the specified detail message. |
Inherited methods
Constructor details
InstantiationException
public InstantiationException()Constructs an InstantiationException with no detail message.
InstantiationException
public InstantiationException(String s)Constructs an InstantiationException with the specified detail message.
s - the detail message.