AmazonSimpleDB sdbClient = getSdbClient();
String domainName = getConfiguration().getDomainName();
LOG.trace("Querying whether domain [{}] already exists...", domainName);
try {
sdbClient.domainMetadata(new DomainMetadataRequest(domainName));
LOG.trace("Domain [{}] already exists", domainName);
return;
} catch (NoSuchDomainException ase) {
LOG.trace("Domain [{}] doesn't exist yet", domainName);
LOG.trace("Creating domain [{}]...", domainName);