diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-08-21 14:29:56 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-08-21 14:29:56 +0200 |
commit | e934a15177edaab6b61726eb7573abfb74ba980a (patch) | |
tree | 2f7ce97f867c8ac68b1a3447a31d68798ec575ec /documentapi | |
parent | fba3f92274776bb94ba03a4a5a232294a617d00f (diff) |
Fix ambiguity in Javadoc regarding DocumentAccessException
Diffstat (limited to 'documentapi')
-rwxr-xr-x | documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java b/documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java index 330bf0dbf33..ee9b1760012 100755 --- a/documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java +++ b/documentapi/src/main/java/com/yahoo/documentapi/SyncSession.java @@ -68,7 +68,7 @@ public interface SyncSession extends Session { * @return The known document having this id, or null if there is no * document having this id. * @throws UnsupportedOperationException Thrown if this access does not support retrieving. - * @throws DocumentAccessException with error code {@link com.yahoo.messagebus.ErrorCode#TIMEOUT} on timeout. + * @throws DocumentAccessException on any messagebus error, including timeout ({@link com.yahoo.messagebus.ErrorCode#TIMEOUT}). */ // TODO Vespa 7: Remove default implementation. Consider removing get() overloads without timeout. default Document get(DocumentId id, TemporalAmount timeout) { @@ -85,7 +85,7 @@ public interface SyncSession extends Session { * @return The known document having this id, or null if there is no * document having this id. * @throws UnsupportedOperationException Thrown if this access does not support retrieving. - * @throws DocumentAccessException with error code {@link com.yahoo.messagebus.ErrorCode#TIMEOUT} on timeout. + * @throws DocumentAccessException on any messagebus error, including timeout ({@link com.yahoo.messagebus.ErrorCode#TIMEOUT}). */ // TODO Vespa 7: Remove default implementation. Consider removing get() overloads without timeout. default Document get(DocumentId id, String fieldSet, DocumentProtocol.Priority priority, |