public class CallErrorException extends Exception
| Constructor and Description |
|---|
CallErrorException(String errorCode,
String errorDescription,
Object payload)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode()
A String containing the error code, send by the other part.
|
String |
getErrorDescription()
Description of the error.
|
Object |
getPayload()
The raw payload send from the other end.
|
void |
setErrorCode(String errorCode)
A String containing the error code, send by the other part.
|
void |
setErrorDescription(String errorDescription)
Description of the error.
|
void |
setPayload(Object payload)
The raw payload send from the other end.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getErrorCode()
public void setErrorCode(String errorCode)
errorCode - the error code.public String getErrorDescription()
public void setErrorDescription(String errorDescription)
errorDescription - the error description.public Object getPayload()
public void setPayload(Object payload)
payload - the raw payload.Copyright © 2022. All rights reserved.