checkNotNull(this.awsSecretAccessKey, "missing awsSecretAccessKey");
checkNotNull(this.region, "missing region");
} catch (Exception e) {
// no need to wrap further if already a config exception
Throwables.propagateIfInstanceOf(e, CloudAdapterException.class);
throw new CloudAdapterException(format(
"failed to validate cloud client configuration: %s",
e.getMessage()), e);
}
}