@Beta public class ODataServiceError extends Object
Constructor and Description |
---|
ODataServiceError(String oDataCode,
String oDataMessage) |
ODataServiceError(String oDataCode,
String oDataMessage,
String target) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getODataCode()
Language independent OData error response code.
|
String |
getODataMessage()
Language dependent OData error message.
|
String |
getTarget()
Optional OData service specific hint for origin of the error.
|
int |
hashCode() |
void |
setODataCode(String oDataCode)
Language independent OData error response code.
|
void |
setODataMessage(String oDataMessage)
Language dependent OData error message.
|
void |
setTarget(String target)
Optional OData service specific hint for origin of the error.
|
String |
toString() |
public ODataServiceError(@Nonnull String oDataCode, @Nonnull String oDataMessage, @Nullable String target)
@Nonnull public String getODataMessage()
@Nullable public String getTarget()
public void setODataCode(@Nonnull String oDataCode)
public void setODataMessage(@Nonnull String oDataMessage)
public void setTarget(@Nullable String target)
Copyright © 2020 SAP SE. All rights reserved.