提交 443c5d67 编写于 作者: F Fabian Hueske

Improved exception message in WritableTypeInfo.

上级 a07dba6f
......@@ -43,7 +43,8 @@ public class WritableTypeInfo<T extends Writable> extends TypeInformation<T> imp
return new WritableComparator(sortOrderAscending, typeClass);
}
else {
throw new UnsupportedOperationException("Writable does not implement Comparable interface.");
throw new UnsupportedOperationException("Cannot create Comparator for "+typeClass.getCanonicalName()+". " +
"Class does not implement Comparable interface.");
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册