|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.ClassCastException viper.comparison.distances.UnknownDistanceException
Runtime exception that is thrown when trying to get a distance that has not been registered. Often thrown due to misspelling or something.
Constructor Summary | |
UnknownDistanceException()
Creates a new instance of UnknownDistanceException without
detail message. |
|
UnknownDistanceException(Measurable measurable,
java.lang.String distance)
Constructs an instance of UnknownDistanceException with the
specified detail message. |
|
UnknownDistanceException(java.lang.String msg)
Constructs an instance of UnknownDistanceException with the
specified detail message. |
|
UnknownDistanceException(java.lang.String measurable,
java.lang.String distance)
Constructs an instance of UnknownDistanceException with the
specified detail message. |
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 |
public UnknownDistanceException()
UnknownDistanceException
without
detail message.
public UnknownDistanceException(java.lang.String msg)
UnknownDistanceException
with the
specified detail message.
msg
- the detail message.public UnknownDistanceException(java.lang.String measurable, java.lang.String distance)
UnknownDistanceException
with the
specified detail message.
measurable
- The measurable type that should support the given distancedistance
- The name of the distance functor that was not found.public UnknownDistanceException(Measurable measurable, java.lang.String distance)
UnknownDistanceException
with the
specified detail message.
measurable
- The measurable type that should support the given distancedistance
- The name of the distance functor that was not found.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |