OutOfMemoryErrorpublic class OutOfMemoryError extends VirtualMachineError Thrown when a request for memory is made that can not be satisfied using the
available platform resources. Such a request may be made by both the running
application or by an internal function of the virtual machine. |
Fields Summary |
---|
private static final long | serialVersionUID |
Constructors Summary |
---|
public OutOfMemoryError()Constructs a new {@code OutOfMemoryError} that includes the current stack
trace.
super();
| public OutOfMemoryError(String detailMessage)Constructs a new {@code OutOfMemoryError} with the current stack trace
and the specified detail message.
super(detailMessage);
|
|