Class Error
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v3.dto.Error
@Validated
@Generated(value="de.hybris.platform.b2ctelcotmfwebservices.swagger.TelcoCodegen",
date="2022-10-21T20:34:51.201Z")
public class Error
extends Object
Error
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) boolean@NotNull IntegergetCode()An integer coding the error type.(optional) A long localized error description if needed.(optional) A URL to online documentation that provides more information about the error.@NotNull StringA short localized string that describes the error.inthashCode()voidvoidsetDescription(String description) voidsetInfoURL(String infoURL) voidsetMessage(String message) toString()
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
code
-
getCode
An integer coding the error type. This is given to caller so he can translate them if required.- Returns:
- code
-
setCode
-
message
-
getMessage
A short localized string that describes the error.- Returns:
- message
-
setMessage
-
description
-
getDescription
(optional) A long localized error description if needed. It can contain precise information about which parameter is missing, or what are the identifier acceptable values.- Returns:
- description
-
setDescription
-
infoURL
-
getInfoURL
(optional) A URL to online documentation that provides more information about the error.- Returns:
- infoURL
-
setInfoURL
-
equals
-
hashCode
public int hashCode() -
toString
-