[Android] Validate constructor parameters in ConfigFile.

This commit is contained in:
Lioncash 2013-10-31 07:50:05 -04:00
parent 03260c3e6f
commit 0cd372c3c0

View File

@ -34,6 +34,9 @@ public final class ConfigFile
*/
public ConfigFile(String filePath)
{
if (filePath == null)
throw new IllegalArgumentException("filePath cannot be null.");
try
{
open(filePath);