private static void installSecurityMgr(){
  try {
    System.setSecurityManager(new RMISecurityManager());
  }
 catch (  Exception e) {
  }
}

private static void installSecurityMgr ( ) { try { System . setSecurityManager ( new RMISecurityManager ( ) ) ; } catch ( Exception e ) { } }
attempts to install a security manager if none is currently in place .
