aicas logoJamaica 6.1 release 1

java.lang
Class OutOfMemoryError

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Error
          extended by java.lang.VirtualMachineError
              extended by java.lang.OutOfMemoryError
All Implemented Interfaces:
Serializable

public class OutOfMemoryError
extends VirtualMachineError

An OutOfMemoryException is a signal from the virtual machine that a memory allocation has failed because not enough free memory was available. A virtual machine only signals an OutOfMemoryError after it has tried very hard to free some memory (i.e. it has done a complete garbage collection cycle.)

Since:
1.0
See Also:
Serialized Form

Constructor Summary
OutOfMemoryError()
          Constructor for an OutOfMemoryError with no detail message.
OutOfMemoryError(String s)
          Constructor for an OutOfMemoryError with given detail message.
 
Method Summary
 void printStackTrace(PrintStream s)
          This method prints the stackTrace to the given PrintWriter.
 void printStackTrace(PrintWriter s)
          This method prints the stackTrace to the given PrintWriter.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutOfMemoryError

public OutOfMemoryError()
Constructor for an OutOfMemoryError with no detail message.


OutOfMemoryError

public OutOfMemoryError(String s)
Constructor for an OutOfMemoryError with given detail message.

ensures

    (s != null IMPLIES getMessage().equals(s));
 

Parameters:
s - the detail message.
Method Detail

printStackTrace

public void printStackTrace(PrintStream s)
This method prints the stackTrace to the given PrintWriter.

Overrides:
printStackTrace in class Throwable
Parameters:
s - the PrintWriter to write to.

printStackTrace

public void printStackTrace(PrintWriter s)
This method prints the stackTrace to the given PrintWriter.

Overrides:
printStackTrace in class Throwable
Parameters:
s - the PrintWriter to write to.

aicas logoJamaica 6.1 release 1

aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2012 aicas GmbH. All Rights Reserved.