public class OutOfMemoryError extends VirtualMachineError
Constructor and Description |
---|
OutOfMemoryError()
Constructs a new
OutOfMemoryError that includes the current stack
trace. |
OutOfMemoryError(String detailMessage)
Constructs a new
OutOfMemoryError with the current stack trace
and the specified detail message. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OutOfMemoryError()
OutOfMemoryError
that includes the current stack
trace.public OutOfMemoryError(String detailMessage)
OutOfMemoryError
with the current stack trace
and the specified detail message.detailMessage
- the detail message for this error.