ecologylab.appframework
Class OutOfMemoryErrorHandler
java.lang.Object
ecologylab.generic.Debug
ecologylab.appframework.OutOfMemoryErrorHandler
public class OutOfMemoryErrorHandler
- extends Debug
Handle running out of memory. Basically, inform the user, ask if they wish
to save, then exit combinformation.
| Methods inherited from class ecologylab.generic.Debug |
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
registerObjectRegistry
public static void registerObjectRegistry(Scope oRegistry)
registerHandler
public static void registerHandler(ExceptionHandler exceptionHandler)
- Register an ExceptionHandler for callback when an exception
is thrown
- Parameters:
exceptionHandler - The ExceptionHandler to add.
handleException
public static void handleException(java.lang.OutOfMemoryError e)
- Call to register that an exception has ocurred. Results in all
registered handlers being notified.
- Parameters:
e -