⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 incompattexception.java

📁 Boosting算法软件包
💻 JAVA
字号:
package jboost.learner;/** An exception that indicates that an attribute is not what it is    expected to be */public class IncompAttException extends RuntimeException{     private String message;    public IncompAttException(String m) {message=m;}    IncompAttException(int example, int attribute, 			      String expected, Class actual) {	message = "IncompAttException: example no." + example +	    " attribute no. " + attribute +	    ", expected class " + expected +	    ", actual " + actual;    }    IncompAttException(String pre , int attribute, Class actual) {	message = pre + 	    ", attribute no. " + attribute +	    ", actual " + actual;    }    public String getMessage() {	return(message);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -