@ExperimentalApi public class RestErrorCollection extends Object
Constructor and Description |
---|
RestErrorCollection() |
RestErrorCollection(ErrorCollection simpleErrorCollection) |
RestErrorCollection(List<String> errors,
Integer requestStatus) |
RestErrorCollection(String error) |
RestErrorCollection(String error,
Integer requestStatus) |
Modifier and Type | Method and Description |
---|---|
void |
addError(String error) |
Collection<String> |
getErrors() |
Map<String,List<String>> |
getFieldErrors() |
public RestErrorCollection()
public RestErrorCollection(@NotNull ErrorCollection simpleErrorCollection)
public RestErrorCollection(@NotNull String error)
public RestErrorCollection(@NotNull String error, @Nullable Integer requestStatus)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.