Class IncomparableVersionsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.bakedlibs.dough.versions.IncomparableVersionsException
All Implemented Interfaces:
Serializable

public class IncomparableVersionsException extends RuntimeException
An IncomparableVersionsException is thrown when two objects of the type Version could not be compared.

In general: Two versions of different formats are not able to be compared. A SemanticVersion like 1.5.2 for example cannot be compared to a Version like nightly-2021-10-25 as there is no definitive criteria to mediate between the two formats.

Author:
TheBusyBiscuit
See Also: