org.apache.commons.math3.exception
public class DimensionMismatchException extends MathIllegalNumberException
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, getMessagefillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 © 2003–2015 The Apache Software Foundation. All rights reserved.