Package org.pipservices3.commons.errors
Class ErrorDescription
java.lang.Object
org.pipservices3.commons.errors.ErrorDescription
Serializeable error description. It is use to pass information about errors
between microservices implemented in different languages. On the receiving side
ErrorDescription is used to recreate exception object close to its original type
without missing additional details.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCause()getCode()intgetType()voidsetCategory(String value) voidvoidvoidsetCorrelationId(String value) voidsetDetails(StringValueMap value) voidsetMessage(String value) voidsetStackTrace(String value) voidsetStatus(int value) void
-
Constructor Details
-
ErrorDescription
public ErrorDescription()
-
-
Method Details
-
getType
-
setType
-
getCategory
-
setCategory
-
getStatus
public int getStatus() -
setStatus
public void setStatus(int value) -
getCode
-
setCode
-
getMessage
-
setMessage
-
getDetails
-
setDetails
-
getCorrelationId
-
setCorrelationId
-
getCause
-
setCause
-
getStackTrace
-
setStackTrace
-