Skip to content
Permalink
Browse files
GIRAPH-1203
closes #87
  • Loading branch information
aanchal204 authored and dlogothetis committed Mar 26, 2019
1 parent d3bf4a2 commit fff0d3404e53d9349184f5016d8a0848e1210957
Showing 1 changed file with 3 additions and 0 deletions.
@@ -94,6 +94,9 @@ public void add(Edge<I, E> edge) {
} catch (IOException e) {
throw new IllegalStateException("add: Failed to write to the new " +
"byte array");
} catch (NegativeArraySizeException negativeArraySizeException) {
throw new IllegalStateException("add: Too many edges for a vertex, " +
"hence failed to write to byte array");
}
serializedEdges = extendedDataOutput.getByteArray();
serializedEdgesBytesUsed = extendedDataOutput.getPos();

0 comments on commit fff0d34

Please sign in to comment.