FileDocCategorySizeDatePackage
InstantiationException.javaAPI DocAndroid 1.5 API2043Wed May 06 22:41:04 BST 2009java.lang

InstantiationException

public class InstantiationException extends Exception
Thrown when a program attempts to access a constructor which is not accessible from the location where the reference is made.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
Constructors Summary
public InstantiationException()
Constructs a new {@code InstantiationException} that includes the current stack trace.

since
Android 1.0


                        
      
        super();
    
public InstantiationException(String detailMessage)
Constructs a new {@code InstantiationException} with the current stack trace and the specified detail message.

param
detailMessage the detail message for this exception.
since
Android 1.0

        super(detailMessage);
    
InstantiationException(Class clazz)
Constructs a new {@code InstantiationException} with the current stack trace and the class that caused this exception.

param
clazz the class that can not be instantiated.
since
Android 1.0

        super(clazz.getName());
    
Methods Summary