public final class SameExclusiveBoundsException extends InvalidRangeException
Range
in case the lower and upper bounds are exclusive and of the same value.
final Bound<Integer> lowerBound = Bound.exclusive(4); final Bound<Integer> upperBound = lowerBound; assertThatThrownBy(() -> range(lowerBound, upperBound)).isInstanceOf(SameExclusiveBoundsException.class);
See the test code.
Constructor and Description |
---|
SameExclusiveBoundsException() |
SameExclusiveBoundsException(io.sphere.sdk.search.model.Range<T> range) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString