| Modifier and Type | Field and Description |
|---|---|
| private final Class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected 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<?> other)
Overrides com. otherError and formatted together.
|
| public ScopeNotFoundError | withSources(List<Object> newSources)
Implements abstract com. ErrorDetail with updated sources.
|
| scopeAnnotation | back to summary |
|---|---|
| private final Class<? extends Annotation> scopeAnnotation | |
| ScopeNotFoundError | back to summary |
|---|---|
| pack-priv ScopeNotFoundError(Class<? extends Annotation> scopeAnnotation, List<Object> sources) | |
| formatDetail | back to summary |
|---|---|
| protected 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<?> other) 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 ScopeNotFoundError withSources(List<Object> newSources) Implements abstract com. Doc from com. Returns a new instance of the same
| |