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

OutOfMemoryError

extends VirtualMachineError
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.lang.VirtualMachineError
         ↳ java.lang.OutOfMemoryError

Class Overview

This error is thrown when a request is made for more memory either as a result of the running program, or because of the internal behavior of the virtual machine which can not be satisfied using the available platform resources.

Summary

Public Constructors
OutOfMemoryError()
Constructs a new instance of this class with its walkback filled in.
OutOfMemoryError(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 OutOfMemoryError ()

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

public OutOfMemoryError (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.