public class GenericErrorResponseCommand extends Object implements Command<GenericErrorResponse,BasicMessage>
| Modifier and Type | Field and Description |
|---|---|
static Class<GenericErrorResponse> |
REQUEST_CLASS |
| Constructor and Description |
|---|
GenericErrorResponseCommand() |
| Modifier and Type | Method and Description |
|---|---|
BasicMessage |
execute(GenericErrorResponse errorResponse,
CommandContext context)
Performs the command for the feed.
|
public static final Class<GenericErrorResponse> REQUEST_CLASS
public BasicMessage execute(GenericErrorResponse errorResponse, CommandContext context) throws Exception
Commandexecute in interface Command<GenericErrorResponse,BasicMessage>errorResponse - the request that describes what needs to be executedcontext - some context data that can be useful for the command to be able to execute the requestException - if failed to execute the operationCopyright © 2015 Red Hat, Inc.. All rights reserved.