You are viewing a single comment's thread. Return to all comments →
I like that you used IllegalArgumentException. I think that is the appropriate exception to throw in this case.
Seems like cookies are disabled on this browser, please enable them to open this website
Day 17: More Exceptions
You are viewing a single comment's thread. Return to all comments →
I like that you used IllegalArgumentException. I think that is the appropriate exception to throw in this case.