Package rasj
Class RasDimensionMismatchException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- rasj.RasException
-
- rasj.RasDimensionMismatchException
-
- All Implemented Interfaces:
java.io.Serializable
public class RasDimensionMismatchException extends RasException
PURPOSE: This exception is thrown if the dimensions of two objects do not match.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class rasj.RasException
errNo, errText
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRasDimensionMismatchException(long pdim1, long pdim2)Standard constructor getting two dimensionalities.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetDim1()Returns the dimension of the first object.longgetDim2()Returns the dimension of the second object.java.lang.StringgetMessage()Returns the error message.-
Methods inherited from class rasj.RasException
getErrNo
-
-
-
-
Method Detail
-
getMessage
public java.lang.String 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
-
-