if (containerName == null)
throw new NullArgumentException("containerName == null");
if (containerName.length() > 255)
throw new VOMSSyntaxException("containerName.length() > 255");
if (!containerPattern.matcher(containerName).matches())
throw new VOMSSyntaxException("Syntax error in container name: "
+ containerName);
}