public class Defind {public static void main(String[] args) {try{throw new DefindException("异常");}catch(DefindException e){System.out.println(e);}}class DefindException extends Exception{public DefindException(String msg){super(msg);}}}
添加回答
举报
0/150
提交
取消