摘要:
public class UerService { public static void register (String username, String password) throws IllegalNameException { if(username == null || username 阅读全文
posted @ 2022-09-25 18:57
三岁学JAVA
阅读(28)
评论(0)
推荐(0)
摘要:
/*自定义一个异常 第1步:编写一个类继承Exception或者RuntimeException 第2步:提供两个构造方法,一个无参的,一个带有String参数的 */ public class Myexception extends Exception { public Myexception() 阅读全文
posted @ 2022-09-25 15:16
三岁学JAVA
阅读(470)
评论(0)
推荐(0)