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()
int
getType()
void
setCategory
(String value) void
void
void
setCorrelationId
(String value) void
setDetails
(StringValueMap value) void
setMessage
(String value) void
setStackTrace
(String value) void
setStatus
(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
-