public class Main {
public static void main(String[] argv) throws Exception {
try {
assert argv.length > 0;
} catch (AssertionError e) {
String message = e.getMessage();
System.out.println(message);
}
}
}
处理断言错误
最新推荐文章于 2021-11-30 14:32:43 发布