diff options
-rw-r--r-- | document/src/main/java/com/yahoo/document/serialization/VespaDocumentDeserializer6.java | 6 | ||||
-rw-r--r-- | document/src/main/java/com/yahoo/document/serialization/VespaDocumentSerializer6.java | 6 |
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"); } |