下面列出了怎么用com.amazonaws.services.dynamodbv2.model.InternalServerErrorException的API类实例代码及写法,或者点击链接到github查看源代码。
@Test(expected=InternalServerErrorException.class)
public void test_query() throws Exception {
QueryResult result = dynamoDb.query(new QueryRequest());
return;
}
@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;
}
@Test(expected=InternalServerErrorException.class)
public void test_shutdown() throws Exception {
dynamoDb.shutdown();
listTables();
}