Skip to content

Commit 4fc5340

Browse files
author
mpv1989
committed
Add missing throws
1 parent 82b2a82 commit 4fc5340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/arangodb/ArangoCollection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public DocumentImportEntity importDocuments(final String values, final DocumentI
206206
* @return the document identified by the key
207207
* @throws ArangoDBException
208208
*/
209-
public <T> T getDocument(final String key, final Class<T> type) {
209+
public <T> T getDocument(final String key, final Class<T> type) throws ArangoDBException {
210210
executor.validateDocumentKey(key);
211211
try {
212212
return executor.execute(getDocumentRequest(key, new DocumentReadOptions()), type);

0 commit comments

Comments
 (0)