Package rasj

Class RasDimensionMismatchException

All Implemented Interfaces:
Serializable

public class RasDimensionMismatchException extends RasException

 PURPOSE:
 This exception is thrown if the dimensions of two objects do not match.
See Also:
  • Constructor Details

    • RasDimensionMismatchException

      protected RasDimensionMismatchException(long pdim1, long pdim2)
      Standard constructor getting two dimensionalities.
      Parameters:
      pdim1 - the dimension of the first object
      pdim2 - the dimension of the second object
  • Method Details

    • getMessage

      public String getMessage()
      Returns the error message.
      Overrides:
      getMessage in class RasException
      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