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() |
getArgument
getContext, getLocalizedMessage, getMessage
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 © 2003–2016 The Apache Software Foundation. All rights reserved.