public class DimensionMismatchException extends MathIllegalNumberException
| Modifier and Type | Field and Description |
|---|---|
private int |
dimension
Correct dimension.
|
private static long |
serialVersionUID
Serializable version Id.
|
INTEGER_ZERO| Constructor and Description |
|---|
DimensionMismatchException(int wrong,
int expected)
Construct an exception from the mismatched dimensions.
|
DimensionMismatchException(Localizable specific,
int wrong,
int expected)
Construct an exception from the mismatched dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDimension() |
getArgumentgetContext, getLocalizedMessage, getMessageprivate static final long serialVersionUID
private final int dimension
public DimensionMismatchException(Localizable specific, int wrong, int expected)
specific - Specific context information pattern.wrong - Wrong dimension.expected - Expected dimension.public DimensionMismatchException(int wrong,
int expected)
wrong - Wrong dimension.expected - Expected dimension.Copyright (c) 2003-2015 Apache Software Foundation