Package rasj
Class RasDimensionMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
rasj.RasException
rasj.RasDimensionMismatchException
- All Implemented Interfaces:
Serializable
PURPOSE: This exception is thrown if the dimensions of two objects do not match.
- See Also:
-
Field Summary
Fields inherited from class rasj.RasException
errNo, errText -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRasDimensionMismatchException(long pdim1, long pdim2) Standard constructor getting two dimensionalities. -
Method Summary
Methods inherited from class rasj.RasException
getErrNoMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RasDimensionMismatchException
protected RasDimensionMismatchException(long pdim1, long pdim2) Standard constructor getting two dimensionalities.- Parameters:
pdim1- the dimension of the first objectpdim2- the dimension of the second object
-
-
Method Details
-
getMessage
Returns the error message.- Overrides:
getMessagein classRasException- Returns:
- the error message.
-
getDim1
public long getDim1()Returns the dimension of the first object.- Returns:
- the dimension of the first object
-
getDim2
public long getDim2()Returns the dimension of the second object.- Returns:
- the dimension of the second object
-