Serializable, ExceptionContextProviderMatrixDimensionMismatchExceptionpublic class MultiDimensionMismatchException extends MathIllegalArgumentException
| Constructor | Description |
|---|---|
MultiDimensionMismatchException(Integer[] wrong,
Integer[] expected) |
Construct an exception from the mismatched dimensions.
|
MultiDimensionMismatchException(Localizable specific,
Integer[] wrong,
Integer[] expected) |
Construct an exception from the mismatched dimensions.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getExpectedDimension(int index) |
|
Integer[] |
getExpectedDimensions() |
|
int |
getWrongDimension(int index) |
|
Integer[] |
getWrongDimensions() |
getContext, getLocalizedMessage, getMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MultiDimensionMismatchException(Integer[] wrong, Integer[] expected)
wrong - Wrong dimensions.expected - Expected dimensions.public MultiDimensionMismatchException(Localizable specific, Integer[] wrong, Integer[] expected)
specific - Message pattern providing the specific context of
the error.wrong - Wrong dimensions.expected - Expected dimensions.public Integer[] getWrongDimensions()
public Integer[] getExpectedDimensions()
public int getWrongDimension(int index)
index - Dimension index.index.public int getExpectedDimension(int index)
index - Dimension index.index.Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.