From 0dca4c027f60ba8bd3199bf5f803df56a7c7fe47 Mon Sep 17 00:00:00 2001 From: gjoranv Date: Mon, 23 Sep 2019 14:37:16 +0200 Subject: Remove "Vespa 6" from error messages --- .../yahoo/document/serialization/VespaDocumentDeserializer6.java | 6 +++--- .../com/yahoo/document/serialization/VespaDocumentSerializer6.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'document') 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"); } -- cgit v1.2.3