[Android] Validate constructor parameters in ConfigFile.