summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2019-09-23 14:37:16 +0200
committergjoranv <gv@verizonmedia.com>2019-09-23 14:37:16 +0200
commit0dca4c027f60ba8bd3199bf5f803df56a7c7fe47 (patch)
treee7c2feeeacd548ccca584f93f1bab56e6e72fab1 /document
parentcfe167148c1c19a4ceb6175268d10ac01982f7d3 (diff)
Remove "Vespa 6" from error messages
Diffstat (limited to 'document')
-rw-r--r--document/src/main/java/com/yahoo/document/serialization/VespaDocumentDeserializer6.java6
-rw-r--r--document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/document/src/main/java/com/yahoo/document/serialization/VespaDocumentDeserializer6.java b/document/src/main/java/com/yahoo/document/serialization/VespaDocumentDeserializer6.java
index a0bce3cfbf6..27327daab47 100644
--- a/document/src/main/java/com/yahoo/document/serialization/VespaDocumentDeserializer6.java
+++ b/document/src/main/java/com/yahoo/document/serialization/VespaDocumentDeserializer6.java
@@ -818,15 +818,15 @@ public class VespaDocumentDeserializer6 extends BufferSerializer implements Docu
}
protected ValueUpdate readTensorModifyUpdate(DataType type) {
- throw new DeserializationException("Cannot deserialize TensorModifyUpdate, not implemented for Vespa 6");
+ throw new DeserializationException("Cannot deserialize TensorModifyUpdate, not implemented for this document format version");
}
protected ValueUpdate readTensorAddUpdate(DataType type) {
- throw new DeserializationException("Cannot deserialize TensorAddUpdate, not implemented for Vespa 6");
+ throw new DeserializationException("Cannot deserialize TensorAddUpdate, not implemented for this document format version");
}
protected ValueUpdate readTensorRemoveUpdate(DataType type) {
- throw new DeserializationException("Cannot deserialize TensorRemoveUpdate, not implemented for Vespa 6");
+ throw new DeserializationException("Cannot deserialize TensorRemoveUpdate, not implemented for this document format version");
}
}
diff --git a/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java b/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java
index b12e54a0f12..c2111edfd10 100644
--- a/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java
+++ b/document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java
@@ -686,17 +686,17 @@ public class VespaDocumentSerializer6 extends BufferSerializer implements Docume
@Override
public void write(TensorModifyUpdate update) {
- throw new IllegalArgumentException("Write of TensorModifyUpdate not implemented for Vespa 6");
+ throw new IllegalArgumentException("Write of TensorModifyUpdate not implemented for this document format version");
}
@Override
public void write(TensorAddUpdate update) {
- throw new IllegalArgumentException("Write of TensorAddUpdate not implemented for Vespa 6");
+ throw new IllegalArgumentException("Write of TensorAddUpdate not implemented for this document format version");
}
@Override
public void write(TensorRemoveUpdate update) {
- throw new IllegalArgumentException("Write of TensorRemoveUpdate not implemented for Vespa 6");
+ throw new IllegalArgumentException("Write of TensorRemoveUpdate not implemented for this document format version");
}