This is an automated email from the ASF dual-hosted git repository.
huijun pushed a commit to branch huijunw/logObjectwhenException
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/huijunw/logObjectwhenException
by this push:
new 257f238 fix ning comment
257f238 is described below
commit 257f238f4744a9b15d6ddfee998e670695654e68
Author: Huijun Wu <[email protected]>
AuthorDate: Mon May 21 15:18:50 2018 -0700
fix ning comment
---
heron/api/src/java/org/apache/heron/api/serializer/JavaSerializer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/heron/api/src/java/org/apache/heron/api/serializer/JavaSerializer.java
b/heron/api/src/java/org/apache/heron/api/serializer/JavaSerializer.java
index 0df8310..75a1fba 100644
--- a/heron/api/src/java/org/apache/heron/api/serializer/JavaSerializer.java
+++ b/heron/api/src/java/org/apache/heron/api/serializer/JavaSerializer.java
@@ -40,7 +40,7 @@ public class JavaSerializer implements IPluggableSerializer {
oos.writeObject(object);
oos.flush();
} catch (IOException e) {
- throw new RuntimeException("NotSerializable object is: " +
object.toString(), e);
+ throw new RuntimeException("Failed to serialize object: " +
object.toString(), e);
}
return bos.toByteArray();
}
--
To stop receiving notification emails like this one, please contact
[email protected].