Class TmaErrorRepresentationWsDto
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.dto.error.TmaErrorRepresentationWsDto
- All Implemented Interfaces:
Serializable
Standard TMF error representation
- Since:
- 1810.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull IntegergetCode()Application related code (as defined in the API or from a common list)Text that provides more details and corrective actions related to the error.Text that explains the reason for error.URL pointing to documentation describing the errorhttp error code extension like 400-2inthashCode()referenceError(String referenceError) voidvoidsetMessage(String message) voidvoidsetReferenceError(String referenceError) voidtoString()
-
Constructor Details
-
TmaErrorRepresentationWsDto
public TmaErrorRepresentationWsDto()
-
-
Method Details
-
code
-
getCode
Application related code (as defined in the API or from a common list)- Returns:
- code
-
setCode
-
reason
-
getReason
Text that explains the reason for error. This can be shown to a client user.- Returns:
- reason
-
setReason
-
message
-
getMessage
Text that provides more details and corrective actions related to the error. This can be shown to a client user.- Returns:
- message
-
setMessage
-
status
-
getStatus
http error code extension like 400-2- Returns:
- status
-
setStatus
-
referenceError
-
getReferenceError
URL pointing to documentation describing the error- Returns:
- referenceError
-
setReferenceError
-
equals
-
hashCode
public int hashCode() -
toString
-