public class DisposeNumberException extends AuxiliaryToolsException
文件名:IndexException.java
用途: 当数组下标处理出错时,抛出的异常
编码时间:2022年7月7日 上午8:21:07
修改时间:2022年7月7日 上午8:21:07
Constructor and Description |
---|
DisposeNumberException(String message) |
Modifier and Type | Method and Description |
---|---|
static void |
compareNumber(String numName,
int num,
String compareName,
int conpareNum,
MathematicsSymbolType mathematicsSymbolType)
该方法用于对两数字比较,并在比较失败时抛出异常
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DisposeNumberException(String message)
public static void compareNumber(String numName, int num, String compareName, int conpareNum, MathematicsSymbolType mathematicsSymbolType)
numName
- 比较数字的名称num
- 待比较数字compareName
- 被比较数字的名称conpareNum
- 被比较的数据mathematicsSymbolType
- 数学符号枚举Copyright © 2024. All rights reserved.