Package org.apache.commons.math
Class DimensionMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.DimensionMismatchException
- All Implemented Interfaces:
Serializable,MathThrowable
Deprecated.
Error thrown when two dimensions differ.
- Since:
- 1.2
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDimensionMismatchException(int dimension1, int dimension2) Deprecated.Construct an exception from the mismatched dimensions -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Get the first dimensionintDeprecated.Get the second dimensionMethods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DimensionMismatchException
public DimensionMismatchException(int dimension1, int dimension2) Deprecated.Construct an exception from the mismatched dimensions- Parameters:
dimension1- first dimensiondimension2- second dimension
-
-
Method Details
-
getDimension1
public int getDimension1()Deprecated.Get the first dimension- Returns:
- first dimension
-
getDimension2
public int getDimension2()Deprecated.Get the second dimension- Returns:
- second dimension
-
org.apache.commons.math.exception.