viper.descriptors.attributes
Class ImproperMetricException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byviper.descriptors.attributes.ImproperMetricException
All Implemented Interfaces:
java.io.Serializable

public class ImproperMetricException
extends java.lang.Exception

This is thrown when an Attribute or Descriptor tries to use an unspecified distance metric. For example, attempting to find the dice coefficient of two strings would throw this type of exception.

See Also:
Serialized Form

Constructor Summary
ImproperMetricException()
          Constructs a new ImproperMetricException with no detail message.
ImproperMetricException(java.lang.String s)
          Constructs a new ImproperMetricException with the given 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

ImproperMetricException

public ImproperMetricException()
Constructs a new ImproperMetricException with no detail message.


ImproperMetricException

public ImproperMetricException(java.lang.String s)
Constructs a new ImproperMetricException with the given detail message.

Parameters:
s - The detail message to print with the error.