Trivial constructor
if (path == null)
{
throw new NullPointerException("path must not be null");
}
if (name == null)
{
throw new NullPointerException("name must not be null");
}
if (name.length() == 0)
{
throw new IllegalArgumentException("name cannot be empty");
}
this.path = path;
this.name = name;