private static String getProperty ( Properties properties , String key ) { // Check if the properties do not exist. if ( properties == null || properties . getProperty ( key ) == null ) { throw new IllegalArgumentException ( "The property " + key + " does not exist." ) ; } return properties . getProperty ( key ) ; }
Get the property .