public class ServiceError extends GreengrassCoreIPCError implements EventStreamJsonMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_MODEL_TYPE |
static ServiceError |
VOID |
| Constructor and Description |
|---|
ServiceError() |
ServiceError(String errorMessage) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object rhs) |
String |
getApplicationModelType()
Returns the named model type.
|
String |
getErrorTypeString() |
String |
getMessage()
Likely overridden by a specific field defined in service-operation model
|
int |
hashCode() |
void |
setMessage(String message) |
ServiceError |
withMessage(String message) |
isClientError, isRetryable, isServerErrorgetErrorCode, getServiceaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringfromJson, isVoid, postFromJson, toPayloadpublic static final String APPLICATION_MODEL_TYPE
public static final ServiceError VOID
public ServiceError(String errorMessage)
public ServiceError()
public String getErrorTypeString()
getErrorTypeString in class GreengrassCoreIPCErrorpublic String getMessage()
EventStreamOperationErrorgetMessage in class EventStreamOperationErrorpublic void setMessage(String message)
public ServiceError withMessage(String message)
public String getApplicationModelType()
EventStreamJsonMessagegetApplicationModelType in interface EventStreamJsonMessageCopyright ? 2021. All rights reserved.