public static class ViewableAsOptional.TooManyElements extends RuntimeException
Optional
representation of itself contained more than one element, and is thus
not applicable for such conversion.| Constructor and Description |
|---|
TooManyElements() |
TooManyElements(List<? extends Object> objects) |
TooManyElements(List<? extends Object> objects,
Throwable cause) |
TooManyElements(List<T> objects,
Function<? super T,? extends CharSequence> toString) |
TooManyElements(List<T> objects,
Function<? super T,? extends CharSequence> toString,
Throwable cause) |
TooManyElements(Object allowed,
Object firstExcess) |
TooManyElements(Object allowed,
Object firstExcess,
Throwable cause) |
TooManyElements(String message,
Throwable cause) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TooManyElements(List<T> objects, Function<? super T,? extends CharSequence> toString)
public TooManyElements(List<T> objects, Function<? super T,? extends CharSequence> toString, Throwable cause)
public TooManyElements()
Copyright © 2018 Digipost. All rights reserved.