Class UnsupportedNaturalOrderException

  • All Implemented Interfaces:
    Serializable

    public class UnsupportedNaturalOrderException
    extends RuntimeException
    Exception thrown when an object does not support any natural order.
    Version:
    17.0 2020-01-04 14:41:38
    Author:
    Stéphane GALLAND
    See Also:
    Serialized Form
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    util
    • Constructor Detail

      • UnsupportedNaturalOrderException

        public UnsupportedNaturalOrderException​(Object element)
        Constructor.
        Parameters:
        element - is the element which does not provide a natural order.
    • Method Detail

      • getElement

        @Pure
        public Object getElement()
        Replies the element which does not provide a natural order.
        Returns:
        the element which does not provide a natural order.