summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-11-01 14:49:56 +0000
committerTor Egge <Tor.Egge@oath.com>2018-11-01 14:50:23 +0000
commitc71081ffc288bc0287e79275199ac04dd5b16ff7 (patch)
tree6e6d086f9320282e61c35ac1bac69dda36def426 /document
parent21b7cb7b0685ec04cfdb03e7f3793d1ca6dbe190 (diff)
Throw UnsupportedOperationException.
Diffstat (limited to 'document')
-rw-r--r--document/src/main/java/com/yahoo/document/DocumentGet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/main/java/com/yahoo/document/DocumentGet.java b/document/src/main/java/com/yahoo/document/DocumentGet.java
index b144dec7f98..0cf67f54b65 100644
--- a/document/src/main/java/com/yahoo/document/DocumentGet.java
+++ b/document/src/main/java/com/yahoo/document/DocumentGet.java
@@ -18,7 +18,7 @@ public class DocumentGet extends DocumentOperation {
@Override
public void setCondition(TestAndSetCondition condition) {
- throw new IllegalStateException("conditional DocumentGet is not supported");
+ throw new UnsupportedOperationException("conditional DocumentGet is not supported");
}
@Override