comirva.exception
Class SizeMismatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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