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
public class DimensionMismatchException extends MathException
Deprecated.in 2.2 (to be removed in 3.0). Please use its equivalent from packageorg.apache.commons.math.exception
.Error thrown when two dimensions differ.- Since:
- 1.2
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DimensionMismatchException(int dimension1, int dimension2)
Deprecated.Construct an exception from the mismatched dimensions
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
getDimension1()
Deprecated.Get the first dimensionint
getDimension2()
Deprecated.Get the second dimension-
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
-