Package com.google.common.collect
Class Ordering.IncomparableValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.ClassCastException
com.google.common.collect.Ordering.IncomparableValueException
- All Implemented Interfaces:
Serializable
Exception thrown by a
Ordering.explicit(List)
or Ordering.explicit(Object, Object[])
comparator when comparing a value outside the set of values it can compare.
Extending ClassCastException
may seem odd, but it is required.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
value
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
IncomparableValueException
IncomparableValueException(Object value)
-