Class NotComparableException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NotComparableException
    extends java.lang.Exception
    This exception is thrown when a two concepts are compared but are not of the same nature (for instance, a comparison between a class and an instance would throw a NotComparableException).
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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.String msg)