java自定义的异常类 1、自定义异常类,需要继承 RuntimeException @Datapublic class EmployeeCheckException extends RuntimeException{ private int code; private String msg; public EmployeeCheckException(String msg, int code) { this.code = co
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有