FileDocCategorySizeDatePackage
NoSuchFieldError.javaAPI DocAndroid 1.5 API1780Wed May 06 22:41:04 BST 2009java.lang

NoSuchFieldError

public class NoSuchFieldError extends IncompatibleClassChangeError
Thrown when the virtual machine notices that a program tries to reference, on a class or object, a field that does not exist.

Note that this can only occur when inconsistent class files are being loaded.

since
Android 1.0

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

since
Android 1.0


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

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

        super(detailMessage);
    
Methods Summary