|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.DimensionMismatchException
public class DimensionMismatchException
Error thrown when two dimensions differ.
Field Summary | |
---|---|
private int |
dimension1
First dimension. |
private int |
dimension2
Second dimension. |
private static long |
serialVersionUID
Serializable version identifier |
Constructor Summary | |
---|---|
DimensionMismatchException(int dimension1,
int dimension2)
Construct an exception from the mismatched dimensions |
Method Summary | |
---|---|
int |
getDimension1()
Get the first dimension |
int |
getDimension2()
Get the second dimension |
Methods inherited from class org.apache.commons.math.MathException |
---|
getArguments, getLocalizedMessage, getMessage, getMessage, getPattern, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final int dimension1
private final int dimension2
Constructor Detail |
---|
public DimensionMismatchException(int dimension1, int dimension2)
dimension1
- first dimensiondimension2
- second dimensionMethod Detail |
---|
public int getDimension1()
public int getDimension2()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |