ArgumentBadBoy is an example of hot to throw an IllegalArgumentException. IN real life you would probably not want to try and handle one of these, you would just fix the bug that allowed the bad argument in.