Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class NotComparableException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              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)

Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD