java.lang
OutOfMemoryError
Declarationpublic class OutOfMemoryError extends VirtualMachineError
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Error
|
+--java.lang.VirtualMachineError
|
+--java.lang.OutOfMemoryError
Description
Thrown when the Java Virtual Machine cannot allocate an object because it is out of memory, and no more
memory could be made available by the garbage collector.
Constructors
OutOfMemoryError()
OutOfMemoryError(String s)
Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()
Constructors
OutOfMemoryError()
Declaration:
public OutOfMemoryError()
Description:
Constructs an OutOfMemoryError with no detail message.
OutOfMemoryError(String)
Declaration:
public OutOfMemoryError(java.lang.String s)
Description:
Constructs an OutOfMemoryError with the specified detail message.
Parameters:
s - the detail message.
No comments:
Post a Comment