public class SystemNoExitGuard extends Object
SystemNoExitGuard.Task execution against use of System.exit(int) (and related)
and to restore system streams once the task has finished.| Modifier and Type | Class and Description |
|---|---|
static interface |
SystemNoExitGuard.Task
Runnable-like interface which allows Exceptions.
|
| Constructor and Description |
|---|
SystemNoExitGuard() |
public void run(SystemNoExitGuard.Task task) throws Exception
ExceptionCopyright © 2006-2013 Codehaus. All Rights Reserved.