Package org.openapitools.client.model
Class ExceptionDto
- java.lang.Object
-
- org.openapitools.client.model.ExceptionDto
-
public class ExceptionDto extends Object
ExceptionDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_TYPE
-
Constructor Summary
Constructors Constructor Description ExceptionDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionDtocode(BigDecimal code)booleanequals(Object o)BigDecimalgetCode()The code allows your client application to identify the error in an automated fashion.StringgetMessage()A detailed message of the error.StringgetType()An exception class indicating the occurred error.inthashCode()ExceptionDtomessage(String message)voidsetCode(BigDecimal code)voidsetMessage(String message)voidsetType(String type)StringtoString()ExceptionDtotype(String type)
-
-
-
Field Detail
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
public static final String SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CODE
public static final String SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public ExceptionDto type(String type)
-
getType
public String getType()
An exception class indicating the occurred error.- Returns:
- type
-
setType
public void setType(String type)
-
message
public ExceptionDto message(String message)
-
getMessage
public String getMessage()
A detailed message of the error.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
code
public ExceptionDto code(BigDecimal code)
-
getCode
public BigDecimal getCode()
The code allows your client application to identify the error in an automated fashion. You can look up the meaning of all built-in codes and learn how to add custom codes in the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/error-handling/#exception-codes).- Returns:
- code
-
setCode
public void setCode(BigDecimal code)
-
-