diff options
author | Geir Storli <geirst@verizonmedia.com> | 2019-09-23 15:56:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 15:56:00 +0200 |
commit | 8affeae3e0659a7254aea22582919b85a412a8fe (patch) | |
tree | 5bc2817ade8d96ae87ede69000ed8de09306a9be /document/src | |
parent | 814fc9906ae802165680418f9911dc2ccf539f9f (diff) | |
parent | 0dca4c027f60ba8bd3199bf5f803df56a7c7fe47 (diff) |
Merge pull request #10773 from vespa-engine/gjoranv/remove-vespa-6-from-error-messages
Remove "Vespa 6" from error messages
Diffstat (limited to 'document/src')
-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"); } |