try {
if (graphparser.isEdgeData(line)) {
Edge e = graphparser.parseEdge(line, vidparser, edataparser);
if (reduceEndPoint == EdgeTransformMR.SOURCE) {
val.init(e.target(), e.EdgeData());
out.collect((VidType) e.source(), val);
} else {
val.init(e.source(), e.EdgeData());
out.collect((VidType) e.target(), val);
}