Catch IllegalArgumentException