加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090303145502/http://developer.android.com:80/reference/java/lang/InstantiationException.html
public class

InstantiationException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.InstantiationException

Class Overview

This exception is thrown when a program attempts to access a constructor which is not accessible from the location where the reference is made.

Summary

Public Constructors
InstantiationException()
Constructs a new instance of this class with its walkback filled in.
InstantiationException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public InstantiationException ()

Constructs a new instance of this class with its walkback filled in.

public InstantiationException (String detailMessage)

Constructs a new instance of this class with its walkback and message filled in.

Parameters
detailMessage String The detail message for the exception.