public class DimensionMismatchException extends MathIllegalNumberException
| Constructor and Description |
|---|
DimensionMismatchException(int wrong,
int expected)
Deprecated.
since 4.14, as the default message does not give the user enough context. Use
instead, with a
more explicit message. |
DimensionMismatchException(Localizable specific,
int wrong,
int expected)
Construct an exception from the mismatched dimensions.
|
DimensionMismatchException(Localizable pattern,
String wrongName,
int wrong,
String expectedName,
int expected)
Construct an exception from the mismatched dimensions.
|
DimensionMismatchException(String specific,
int wrong,
int expected)
Construct an exception from the mismatched dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDimension() |
getArgumentgetContext, getLocalizedMessage, getMessageaddSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, 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(String specific, int wrong, int expected)
specific - Specific context information string.wrong - Wrong dimension.expected - Expected dimension.public DimensionMismatchException(Localizable pattern, String wrongName, int wrong, String expectedName, int expected)
pattern - Specific context information string.wrongName - Wrong dimension name.wrong - Wrong dimension.expectedName - Expected dimension name.expected - Expected dimension.@Deprecated public DimensionMismatchException(int wrong, int expected)
instead, with a
more explicit message.wrong - Wrong dimension.expected - Expected dimension.Copyright © 2024 CNES. All rights reserved.