public class MultiDimensionMismatchException extends MathIllegalArgumentException
| Constructor and Description |
|---|
MultiDimensionMismatchException(Integer[] wrongIn,
Integer[] expectedIn)
Construct an exception from the mismatched dimensions.
|
MultiDimensionMismatchException(Localizable specific,
Integer[] wrongIn,
Integer[] expectedIn)
Construct an exception from the mismatched dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getExpectedDimension(int index) |
Integer[] |
getExpectedDimensions() |
int |
getWrongDimension(int index) |
Integer[] |
getWrongDimensions() |
getContext, getLocalizedMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic MultiDimensionMismatchException(Integer[] wrongIn, Integer[] expectedIn)
wrongIn - Wrong dimensions.expectedIn - Expected dimensions.public MultiDimensionMismatchException(Localizable specific, Integer[] wrongIn, Integer[] expectedIn)
specific - Message pattern providing the specific context of
the error.wrongIn - Wrong dimensions.expectedIn - 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 © 2025 CNES. All rights reserved.