如何在Java中解决IllegalArgumentException?