Class VectorSizeMismatch

  • All Implemented Interfaces:
    Serializable

    public class VectorSizeMismatch
    extends RuntimeException
    This is the exception thrown when an operation is performed on two vectors with different sizes.
    See Also:
    Serialized Form
    • Constructor Detail

      • VectorSizeMismatch

        public VectorSizeMismatch​(int size1,
                                  int size2)
        Constructs an instance of SizeMismatch.
        Parameters:
        size1 - size 1
        size2 - size 2