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

📄 illegaltriangleexception.java

📁 一个大学本科java课程的大作业。要求利用GUI以及APPLET分别完成一个任务:随机产生三角形
💻 JAVA
字号:

/**
 *Title:IllegalTriangleException.java
 *Description: This class defines an IllegalTriangleException
 *when width and height are not the same, it throws IllegalTriangleException
 *@author: Peng yu
 *version:1.0
 */


 
public class IllegalTriangleException extends Exception
{
	public IllegalTriangleException()
	{       
		super("Error: You have creared an invalid triangle. The width and height must be the same."); 
                
                //invoke and override the Exception's constructor

	}

}

⌨️ 快捷键说明

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