public class MatrixDimensionMismatchException extends MultiDimensionMismatchException
| Constructor and Description |
|---|
MatrixDimensionMismatchException(int wrongRowDim,
int wrongColDim,
int expectedRowDim,
int expectedColDim)
Construct an exception from the mismatched dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExpectedColumnDimension() |
int |
getExpectedRowDimension() |
int |
getWrongColumnDimension() |
int |
getWrongRowDimension() |
getExpectedDimension, getExpectedDimensions, getWrongDimension, getWrongDimensionsgetContext, getLocalizedMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MatrixDimensionMismatchException(int wrongRowDim,
int wrongColDim,
int expectedRowDim,
int expectedColDim)
wrongRowDim - Wrong row dimension.wrongColDim - Wrong column dimension.expectedRowDim - Expected row dimension.expectedColDim - Expected column dimension.public int getWrongRowDimension()
public int getExpectedRowDimension()
public int getWrongColumnDimension()
public int getExpectedColumnDimension()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.