I'm a bit confused about how to "throw" an illegal argument exception and do the whole try/catch thing.
In particular, I would like to do this to test the constructor and methods of a class I built.
So here is the situation - say I want the constructor to throw an illegal argument error if a parameter it receives is equal to or below 2, and execute smoothly otherwise.