}
public synchronized CreateTableResult createTable(CreateTableRequest request) throws LimitExceededException, InternalServerErrorException, ResourceInUseException {
// table limit of 256
if (this.tables.size() >= Limits.TABLE_MAX) {
throw new LimitExceededException("Cannot exceed 256 tables per account.");
}
// Validate data coming in
// TODO: Look into how we're doing validation, maybe implement better solution
CreateTableRequestValidator validator = new CreateTableRequestValidator();