public static Properties getSystemProperties ( ) { try { return new Properties ( System . getProperties ( ) ) ; } catch ( final SecurityException ex ) { LowLevelLogUtil . logException ( "Unable to access system properties." , ex ) ; // Sandboxed - can't read System Properties return new Properties ( ) ; } }
Return the system properties or an empty Properties object if an error occurs .