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

📄 datatypeexception.java

📁 用applet实现很多应用小程序
💻 JAVA
字号:
package prefuse.data;

/**
 * Exception indicating an incompatible data type assignment.
 * 
 * @author <a href="http://jheer.org">jeffrey heer</a>
 */
public class DataTypeException extends RuntimeException {

    /**
     * Create a new DataTypeException.
     */
    public DataTypeException() {
        super();
    }

    /**
     * Create a new DataTypeException.
     * @param message a descriptive error message
     * @param cause a Throwable (e.g., error or exception) that was the cause
     * for this exception being thrown
     */
    public DataTypeException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Create a new DataTypeException.
     * @param message a descriptive error message
     */
    public DataTypeException(String message) {
        super(message);
    }

    /**
     * Create a new DataTypeException.
     * @param cause a Throwable (e.g., error or exception) that was the cause
     * for this exception being thrown
     */
    public DataTypeException(Throwable cause) {
        super(cause);
    }
    
    /**
     * Create a new DataTypeException.
     * @param type the incompatible data type
     */
    public DataTypeException(Class type) {
        super("Type "+type.getName()+" not supported.");
    }
    
} // end of class DataTypeException

⌨️ 快捷键说明

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