Serializablepublic class OutOfMemoryError extends VirtualMachineError
OutOfMemoryError objects may be constructed by the virtual
machine as if Throwable#Throwable(String, Throwable,
boolean, boolean).public OutOfMemoryError()
OutOfMemoryError with no detail message.public OutOfMemoryError(String s)
OutOfMemoryError with the specified
detail message.s - the detail message.