Skip to content

Commit 67b49c1

Browse files
committed
minor.
1 parent 689012b commit 67b49c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/table/src/main/java/org/apache/ignite/internal/table/KeyValueViewImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ private KvMarshaller<K, V> marshaller(int schemaVersion) {
576576
marsh = marshallerFactory.apply(registry.schema(schemaVersion));
577577
this.marsh = marsh;
578578
} catch (Exception ex) {
579-
throw new MarshallerException("Failed to create marshaller.", ex);
579+
throw new MarshallerException(ex.getMessage(), ex);
580580
}
581581

582582
return marsh;

modules/table/src/main/java/org/apache/ignite/internal/table/RecordViewImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ private RecordMarshaller<R> marshaller(int schemaVersion) {
401401
marsh = marshallerFactory.apply(schema);
402402
this.marsh = marsh;
403403
} catch (Exception ex) {
404-
throw new MarshallerException("Failed to create marshaller.", ex);
404+
throw new MarshallerException(ex.getMessage(), ex);
405405
}
406406

407407
return marsh;

0 commit comments

Comments
 (0)