com.amazonaws.services.dynamodbv2.model.InternalServerErrorException Java Examples

The following examples show how to use com.amazonaws.services.dynamodbv2.model.InternalServerErrorException. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AmazonDynamoDBStubTest.java    From aws-java-sdk-stubs with Apache License 2.0 4 votes vote down vote up
@Test(expected=InternalServerErrorException.class)
public void test_query() throws Exception {
  QueryResult result = dynamoDb.query(new QueryRequest());

  return;
}
 
Example #2
Source File: AmazonDynamoDBStubTest.java    From aws-java-sdk-stubs with Apache License 2.0 4 votes vote down vote up
@Test(expected=InternalServerErrorException.class)
public void test_scan_WithAllParameters() throws Exception {
  ScanResult result = dynamoDb.scan(TEST_TABLE_NAME, new ArrayList<String>(), new HashMap<String, Condition>());

  return;
}
 
Example #3
Source File: AmazonDynamoDBStubTest.java    From aws-java-sdk-stubs with Apache License 2.0 4 votes vote down vote up
@Test(expected=InternalServerErrorException.class)
public void test_shutdown() throws Exception {
  dynamoDb.shutdown();

  listTables();
}