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:
java.io.Serializable
static class Ordering.IncomparableValueException extends java.lang.ClassCastException
Exception thrown by aOrdering.explicit(List)
orOrdering.explicit(Object, Object[])
comparator when comparing a value outside the set of values it can compare. ExtendingClassCastException
may seem odd, but it is required.
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
(package private) java.lang.Object
value
-
Constructor Summary
Constructors Constructor Description IncomparableValueException(java.lang.Object value)
-
-
-
Field Detail
-
value
final java.lang.Object value
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-