| Modifier and Type | Field and Description |
|---|---|
| private final Binding | |
| private final Binding |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | formatDetail(List<ErrorDetail<?>>
list of errors that are mergeable with this error mergeableErrors, Formatter for printing the error message formatter)Implements abstract com. |
| public boolean | isMergeable(ErrorDetail<?> otherError)
Overrides com. otherError and formatted together.
|
| public BindingAlreadySetError | withSources(List<Object> newSources)
Implements abstract com. ErrorDetail with updated sources.
|
| binding | back to summary |
|---|---|
| private final Binding<?> binding | |
| original | back to summary |
|---|---|
| private final Binding<?> original | |
| BindingAlreadySetError | back to summary |
|---|---|
| pack-priv BindingAlreadySetError(Binding<?> binding, Binding<?> original, List<Object> sources) | |
| formatDetail | back to summary |
|---|---|
| public void formatDetail(List<ErrorDetail<?>> mergeableErrors, Formatter formatter) Implements abstract com. Doc from com. Formats the detail of this error message along with other errors that are mergeable with this
error. This is called from
| |
| isMergeable | back to summary |
|---|---|
| public boolean isMergeable(ErrorDetail<?> otherError) Overrides com. Doc from com. Returns true if this error can be merged with the By default this return false and implementations that support merging with other errors should override this method.
| |
| withSources | back to summary |
|---|---|
| public BindingAlreadySetError withSources(List<Object> newSources) Implements abstract com. Doc from com. Returns a new instance of the same
| |