summaryrefslogtreecommitdiff
path: root/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-04-13 18:52:30 -0400
committerBen Culkin <scorpress@gmail.com>2020-04-13 18:52:30 -0400
commite71ef0d03e87df19900db8328cda68d38d523b0b (patch)
treeab826b24d1022a06eedea0e8cbbc4e705b4f2211 /src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java
parent2f6a7807f7180fb467e3d06f2af4263a45759c28 (diff)
Cleanup some latent bugs
Cleanup some latent bugs
Diffstat (limited to 'src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java')
-rw-r--r--src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java b/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java
index eb5e4ea..8f1fde9 100644
--- a/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java
+++ b/src/main/java/bjc/inflexion/nouns/CategoricalNounInflection.java
@@ -111,7 +111,7 @@ public class CategoricalNounInflection implements NounInflection {
return singular.affix(classicalPlural.deaffix(plural));
} else {
final String msg = String
- .format("Noun '%s' doesn't belong to this inflection", plural, this);
+ .format("Noun '%s' doesn't belong to this (%s) inflection", plural, this);
throw new InflectionException(msg);
}
@@ -128,7 +128,7 @@ public class CategoricalNounInflection implements NounInflection {
return singlar;
} else {
final String msg = String
- .format("Noun '%s' doesn't belong to this inflection", singlar, this);
+ .format("Noun '%s' doesn't belong to this (%s) inflection", singlar, this);
throw new InflectionException(msg);
}