Skip to content

Commit

Permalink
Fix snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
yihanzhen committed May 4, 2018
1 parent 006d60d commit 75849de
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ public Database createDatabase(String instanceId, String databaseId) {
Database db;
try {
db = op.get();
} catch (Exception e) {
throw SpannerExceptionFactory.newSpannerException(e);
}
} catch (ExecutionException | InterruptedException e) {
throw e.getCause();
}
// [END createDatabase]
return db;
}
Expand Down

0 comments on commit 75849de

Please sign in to comment.