public class NoSuchIntervalException extends RuntimeException
Interval.unify(Interval)
when trying to unify two Intervals that cannot be unified.
For example the union of [0,1] and [2,3] is not an interval.
| Constructor and Description |
|---|
NoSuchIntervalException(Interval<?> a,
Interval<?> b,
String op)
Constructs a new exception to report a failed union between
the two provided intervals.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NoSuchIntervalException(Interval<?> a, Interval<?> b, String op)
a - interval to unify.b - interval to unify.op - symbol of the operation involved, can be one between unify and subtract.Copyright © 2011–2020 Nerd4j. All rights reserved.