Module org.arakhne.afc.core.util
Package org.arakhne.afc.util
Class UnsupportedNaturalOrderException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.arakhne.afc.util.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 Summary
Constructors Constructor Description UnsupportedNaturalOrderException(Object element)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getElement()
Replies the element which does not provide a natural order.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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.
-
-