Skip to content

Commit cd3f2be

Browse files
Exception --> CouchbaseException
1 parent 262471e commit cd3f2be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/devguide/examples/java/StartUsingCapella.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static void main(String[] args) {
6767
String docId = UUID.randomUUID().toString();
6868
try {
6969
collection.upsert(docId, json);
70-
} catch (Exception e) {
70+
} catch (CouchbaseException e) {
7171
System.err.println("Error: " + e.getMessage());
7272
}
7373
// end::upsert[]

0 commit comments

Comments
 (0)