Hi All: We have code like:
throw new IllegalArgumentException(String.format("Minimum abbreviation
width is %d", minAbbrevWidth));
and I use this pattern a lot.
I would like to short cut this as follows:
throw IllegalArgumentExceptions.format("Minimum abbreviation width is %d",
minAbbrevWidth);
with a new factory class o.a.c.l.exceptions.IllegalArgumentExceptions
Thoughts?
Gary
