summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/graph/AdjacencyMap.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/src/main/java/bjc/utils/graph/AdjacencyMap.java')
-rw-r--r--base/src/main/java/bjc/utils/graph/AdjacencyMap.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/src/main/java/bjc/utils/graph/AdjacencyMap.java b/base/src/main/java/bjc/utils/graph/AdjacencyMap.java
index 58ce107..1598b25 100644
--- a/base/src/main/java/bjc/utils/graph/AdjacencyMap.java
+++ b/base/src/main/java/bjc/utils/graph/AdjacencyMap.java
@@ -100,7 +100,7 @@ public class AdjacencyMap<T> {
} catch (final NumberFormatException nfex) {
String msg = String.format("%d is not a valid weight.", part);
- final InputMismatchException imex = new InputMismatchException();
+ final InputMismatchException imex = new InputMismatchException(msg);
imex.initCause(nfex);
throw imex;