Package io.stargate.sdk.api
Class ApiError
java.lang.Object
io.stargate.sdk.api.ApiError
- All Implemented Interfaces:
Serializable
Specialized error for Stargate.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Getter accessor for attribute 'code'.Getter accessor for attribute 'description'.voidsetCode(int code) Setter accessor for attribute 'code'.voidsetDescription(String description) Setter accessor for attribute 'description'.
-
Constructor Details
-
ApiError
public ApiError()Default constructor.
-
-
Method Details
-
getDescription
Getter accessor for attribute 'description'.- Returns:
- current value of 'description'
-
setDescription
Setter accessor for attribute 'description'.- Parameters:
description- new value for 'description '
-
getCode
public int getCode()Getter accessor for attribute 'code'.- Returns:
- current value of 'code'
-
setCode
public void setCode(int code) Setter accessor for attribute 'code'.- Parameters:
code- new value for 'code '
-