public interface ExitCallHook
NoExitSecurityManager
when an application tries to terminate the current JVM. This hook is
called before throwing ExitException
.Modifier and Type | Method and Description |
---|---|
void |
exitCalled(int status)
Implement this method to do any context-specific cleanup.
|
void exitCalled(int status)
ExitException
explicitly (like when it's caught by someone else, or thrown from the event
dispatch thread).status
- the status the exit status.Copyright © 2014–2019 AssertJ. All rights reserved.