java.lang
Class OutOfMemoryError

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Error
              |
              +--java.lang.VirtualMachineError
                    |
                    +--java.lang.OutOfMemoryError

public class OutOfMemoryError
extends VirtualMachineError

Signals that you are out of memory.


Constructor Summary
OutOfMemoryError()
          Constructs an OutOfMemoryError with no detail message.
OutOfMemoryError(String s)
          Constructs an OutOfMemoryError with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutOfMemoryError

public OutOfMemoryError()
Constructs an OutOfMemoryError with no detail message. A detail message is a String that describes this particular exception.


OutOfMemoryError

public OutOfMemoryError(String s)
Constructs an OutOfMemoryError with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message