IllegalArgumentException or NullPointerException for a Null Parameter? 28 8 月, 2020 Amy DeGregorio 0 Explore the issue of which exception to throw when someone passes a null parameter to one of our methods: IllegalArgumentExcpetion or NullPointerException.