illegal argument exception caught