类 MultiDimensionMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hipparchus.exception.MathRuntimeException
org.hipparchus.exception.MathIllegalArgumentException
org.hipparchus.migration.exception.MultiDimensionMismatchException
- 所有已实现的接口:
-
Serializable,LocalizedException
- 直接已知子类:
-
MatrixDimensionMismatchException
已过时。
当两组尺寸不同时抛出的异常。
- 另请参阅:
-
构造器概要
构造器构造器说明MultiDimensionMismatchException(Integer[] wrong, Integer[] expected) 已过时。从不匹配的尺寸构造异常。MultiDimensionMismatchException(Localizable specific, Integer[] wrong, Integer[] expected) 已过时。从不匹配的尺寸构造异常。 -
方法概要
修饰符和类型方法说明intgetExpectedDimension(int index) 已过时。获取索引处的预期尺寸。Integer[]已过时。获取包含预期尺寸的数组。intgetWrongDimension(int index) 已过时。获取索引处的错误尺寸。Integer[]已过时。获取包含错误尺寸的数组。从类继承的方法 org.hipparchus.exception.MathRuntimeException
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifier从类继承的方法 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
构造器详细资料
-
MultiDimensionMismatchException
已过时。从不匹配的尺寸构造异常。- 参数:
-
wrong- 错误的尺寸。 -
expected- 预期的尺寸。
-
MultiDimensionMismatchException
已过时。从不匹配的尺寸构造异常。- 参数:
-
specific- 提供错误具体上下文的消息模式。 -
wrong- 错误的尺寸。 -
expected- 预期的尺寸。
-
-
方法详细资料
-
getWrongDimensions
已过时。获取包含错误尺寸的数组。- 返回:
- 包含错误尺寸的数组
-
getExpectedDimensions
已过时。获取包含预期尺寸的数组。- 返回:
- 包含预期尺寸的数组
-
getWrongDimension
public int getWrongDimension(int index) 已过时。获取索引处的错误尺寸。- 参数:
-
index- 尺寸索引。 - 返回:
-
存储在
index处的错误尺寸。
-
getExpectedDimension
public int getExpectedDimension(int index) 已过时。获取索引处的预期尺寸。- 参数:
-
index- 尺寸索引。 - 返回:
-
存储在
index处的预期尺寸。
-
MathIllegalArgumentException