Class NotComparableException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by NotComparableException
All Implemented Interfaces:
java.io.Serializable

public class NotComparableException
extends java.lang.Exception

Exception generated when two objects cannot be compared Such cases happen when an object does not implement the Comparable interface or when the comparison produces a ClassCastException

See Also:
Serialized Form

Constructor Summary
NotComparableException(java.lang.Class cl)
           
NotComparableException(java.lang.Object o)
           
NotComparableException(java.lang.Object a, java.lang.Object b)
           
NotComparableException(java.lang.String type)
           
 
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

NotComparableException

public NotComparableException(java.lang.Object a,
                              java.lang.Object b)

NotComparableException

public NotComparableException(java.lang.Object o)

NotComparableException

public NotComparableException(java.lang.Class cl)

NotComparableException

public NotComparableException(java.lang.String type)