Update ExitPlatform.java

added documentation