| Package | Description |
|---|---|
| com.helger.commons.error | |
| com.helger.commons.error.list |
| Modifier and Type | Class and Description |
|---|---|
class |
SingleError
Default implementation of
IError. |
| Modifier and Type | Method and Description |
|---|---|
static SingleError.SingleErrorBuilder |
SingleError.builder(IError aError)
Create a new error builder containing all the data from the provided error.
|
String |
IErrorTextProvider.getErrorText(IError aError,
Locale aContentLocale)
Get the provided error as a String
|
String |
ErrorTextProvider.getErrorText(IError aError,
Locale aContentLocale) |
| Constructor and Description |
|---|
AbstractBuilder(IError aError) |
SingleErrorBuilder(IError aError) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IErrorBaseList<IMPLTYPE extends IError>
Base list containing errors.
|
| Modifier and Type | Method and Description |
|---|---|
ICommonsList<IError> |
IErrorList.getAllItems() |
ICommonsList<IError> |
ErrorList.getAllItems() |
default <T> IMultiMapListBased<T,IError> |
IErrorList.getGrouped(Function<? super IError,T> aKeyExtractor) |
default IMultiMapListBased<String,IError> |
IErrorList.getGroupedByFieldName() |
default IMultiMapListBased<String,IError> |
IErrorList.getGroupedByID() |
Iterator<IError> |
ErrorList.iterator() |
| Modifier and Type | Method and Description |
|---|---|
ErrorList |
ErrorList.add(IError aError) |
void |
ErrorList.addAll(IError... aErrorList) |
EChange |
ErrorList.remove(IError aError) |
EChange |
ErrorList.removeAll(IError... aErrors) |
| Modifier and Type | Method and Description |
|---|---|
void |
ErrorList.addAll(Iterable<? extends IError> aErrorList) |
default <T> ICommonsList<T> |
IErrorList.getAllDataItems(Function<? super IError,T> aExtractor)
Get a list with only a single data element.
|
default <T> IMultiMapListBased<T,IError> |
IErrorList.getGrouped(Function<? super IError,T> aKeyExtractor) |
IErrorList |
IErrorList.getSubList(Predicate<? super IError> aFilter)
Get a sub-list with all entries that match the provided predicate.
|
ErrorList |
ErrorList.getSubList(Predicate<? super IError> aFilter) |
EChange |
ErrorList.removeAll(Iterable<? extends IError> aErrors) |
EChange |
ErrorList.removeIf(Predicate<? super IError> aFilter) |
| Constructor and Description |
|---|
ErrorList(IError... aList)
Constructor taking a list of iterable objects.
|
| Constructor and Description |
|---|
ErrorList(Iterable<? extends IError> aList)
Constructor taking a list of iterable objects.
|
Copyright © 2014–2017 Philip Helger. All rights reserved.