/**
 * Exceptions that are thrown when two things cannot be compared.
 * Seems preferable to the Java designers decision to throw
 * a ClassCastException in such cases.
 *
 * @author Samuel A. Rebelsky
 * @version 1.2 of October 2000
 */
public class IncomparableException
  extends RuntimeException
{
  /** Just "Are you crazy?  I can't compare these things". */
  public IncomparableException() {
    super();
  } // IncomparableException()
  
  /** The more verbose "I can't compare these things because ...". */
  public IncomparableException(String reason) {
    super(reason);
  } // IncomparableException(String)
  
} // class IncomparableException

