net.obsearch.exception
Class OutOfRangeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.obsearch.exception.OBException
              extended by net.obsearch.exception.OutOfRangeException
All Implemented Interfaces:
Serializable

public class OutOfRangeException
extends OBException

Class: OutOfRangeException. For each value, we convert it in [0,1] (so that we can handle it inside the pyramid technique). If the distance returns a value that is beyond the limits specified by the user.

Since:
0.7
Author:
Arnoldo Jose Muller Molina
See Also:
Serialized Form

Constructor Summary
OutOfRangeException()
          Default Constructor.
OutOfRangeException(String min, String max, String obtained)
          Constructor.
 
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

OutOfRangeException

public OutOfRangeException()
Default Constructor.


OutOfRangeException

public OutOfRangeException(String min,
                           String max,
                           String obtained)
Constructor.

Parameters:
min - min value specified by the user
max - max value specified by the user
obtained - value obtained from the distance function


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.