Package org.fest.swing.security
Interface ExitCallHook
public interface ExitCallHook
Understands a hook called by
NoExitSecurityManager when an application tries to terminate the
current JVM. This hook is called before throwing ExitException.-
Method Summary
Modifier and TypeMethodDescriptionvoidexitCalled(int status) Implement this method to do any context-specific cleanup.
-
Method Details
-
exitCalled
void exitCalled(int status) Implement this method to do any context-specific cleanup. This hook is provided since it may not always be possible to catch theexplicitly (like when it's caught by someone else, or thrown from the event dispatch thread).ExitException- Parameters:
status- the status the exit status.
-