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.

Author:
Alex Ruiz

Method Summary
 void exitCalled(int status)
          Implement this method to do any context-specific cleanup.
 

Method Detail

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 the ExitException explicitly (like when it's caught by someone else, or thrown from the event dispatch thread).

Parameters:
status - the status the exit status.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.