Package com.michelboudreau.alternator.validators

Examples of com.michelboudreau.alternator.validators.PutItemRequestValidator


        return AlternatorDBApiVersion2Mapper.MapV1UpdateTableResultToV2(result);
  }

  public synchronized PutItemResult putItem(PutItemRequest request) throws InternalServerErrorException, ResourceNotFoundException, ConditionalCheckFailedException {
    // Validate data coming in
    PutItemRequestValidator validator = new PutItemRequestValidator();
    List<Error> errors = validator.validate(request);
    if (errors.size() != 0) {
      throw new AmazonServiceException(errors.toString());

    }
View Full Code Here

TOP

Related Classes of com.michelboudreau.alternator.validators.PutItemRequestValidator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.