Loading...
public final class ErrorRes extends TrxRes
Error Response. Could be sent as response to any request.
Error Response is sent to ECR app e.g. in following cases:
| ErrorRes | public ErrorRes ErrorRes(StringresId,-ErrorStatusstatus, Stringdescription) |
| Name | Summary |
|---|---|
| description | private final String description Detailed description of error |
| id | private String id Response ID. This ID must correspond to Request ID. |
| status | private final ErrorStatus status Error Status describing type of error. |
| type | private Type type |
| version | private String version Response API Version. |
| Name | Summary |
|---|---|
| getDescription | public final String getDescription() Detailed description of error |
| getId | public String getId() Response ID. This ID must correspond to Request ID. |
| getStatus | public final ErrorStatus getStatus() Error Status describing type of error. |
| getType | public final Type getType() |
| getVersion | public final String getVersion() Response API Version. |
| setId | public Unit setId(Stringid) Response ID. This ID must correspond to Request ID. |
| setType | public final Unit setType(Typetype) |
| setVersion | public final Unit setVersion(Stringversion) Response API Version. |