Package rasj

Class 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
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RasDimensionMismatchException​(long pdim1, long pdim2)
      Standard constructor getting two dimensionalities.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getDim1()
      Returns the dimension of the first object.
      long getDim2()
      Returns the dimension of the second object.
      java.lang.String getMessage()
      Returns the error message.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • getMessage

        public java.lang.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