Make sure the IllegalArgumentException includes an instructive message on what went wrong.  Either create a subclass or pass a message into the constructor.