if (direct == null)
{
// Ensure we may construct this via home+name
if (home == null || (name == null || name.length() == 0))
{
throw new InvalidConfigurationException(
"If the bootstrap URL is not specified, both the bootstrap home and name must be.");
}
}
// If no conf
if (conf == null)
{
// Ensure we may construct this from home
if (home == null)
{
throw new InvalidConfigurationException("Bootstrap configuration location must be specified explicity, "
+ "or a home must be provided such that it may be constructed");
}
}
// Log