comirva.exception
Class SizeMismatchException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by comirva.exception.SizeMismatchException
All Implemented Interfaces:
Serializable

public class SizeMismatchException
extends Exception

The SizeMismatchException is thrown when two Vectors that should have the same size (e.g. for calculating the Euclidean distance) actually have not.

See Also:
Serialized Form

Constructor Summary
SizeMismatchException()
          Creates a new SizeMismatchException-instance.
SizeMismatchException(String description)
          Creates a new SizeMismatchException-instance.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

SizeMismatchException

public SizeMismatchException()
Creates a new SizeMismatchException-instance.


SizeMismatchException

public SizeMismatchException(String description)
Creates a new SizeMismatchException-instance.

Parameters:
description - a String containing a message or description of the occurred error