public static final class CommonTypesDef.Error extends Object implements BuilderMessage
Modifier and Type | Class and Description |
---|---|
static class |
CommonTypesDef.Error.Builder |
Modifier and Type | Method and Description |
---|---|
static @NotNull CommonTypesDef.Error |
from(@NotNull Map<String,String> fields) |
static @NotNull CommonTypesDef.Error |
from(@NotNull Map<String,String> fields,
@NotNull String fieldPrefix) |
@Nullable String |
getErrorCode()
An error code that should be mapped to a description in their display language in the end user application
|
@Nullable String |
getErrorMessage()
Additional information about the error.
|
@NotNull Map<String,Collection<String>> |
getFieldFlags()
Get the flags for all fields.
|
@NotNull Map<String,String> |
getFields() |
@NotNull Map<String,Collection<String>> |
getFlagFields()
Get the fields for all flags.
|
static @NotNull CommonTypesDef.Error.Builder |
newBuilder() |
@NotNull String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFieldFlags, getFlagFields
@Nullable public @Nullable String getErrorCode()
@Nullable public @Nullable String getErrorMessage()
@NotNull public @NotNull Map<String,Collection<String>> getFieldFlags()
BuilderMessage
getFieldFlags
in interface BuilderMessage
@NotNull public @NotNull Map<String,Collection<String>> getFlagFields()
BuilderMessage
getFlagFields
in interface BuilderMessage
@NotNull public static @NotNull CommonTypesDef.Error from(@NotNull @NotNull Map<String,String> fields)
@NotNull public static @NotNull CommonTypesDef.Error from(@NotNull @NotNull Map<String,String> fields, @NotNull @NotNull String fieldPrefix)
@NotNull public static @NotNull CommonTypesDef.Error.Builder newBuilder()
Copyright © 2018 Caplin Systems.