public class MultiDimensionMismatchException extends MathIllegalArgumentException
| Constructor and 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 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[] 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–2016 The Apache Software Foundation. All rights reserved.