public final class ResponseHandler extends Object
Modifier and Type | Method and Description |
---|---|
static void |
throwIfErrorResponse(AppendMessageResponse response) |
static void |
throwIfErrorResponse(CreateMessageStreamResponse response) |
static void |
throwIfErrorResponse(DeleteMessageStreamResponse response) |
static void |
throwIfErrorResponse(DescribeMessageStreamResponse response) |
static void |
throwIfErrorResponse(ListStreamsResponse response) |
static void |
throwIfErrorResponse(ReadMessagesResponse response) |
static void |
throwIfErrorResponse(UpdateMessageStreamResponse response) |
public static void throwIfErrorResponse(CreateMessageStreamResponse response) throws StreamManagerException
StreamManagerException
public static void throwIfErrorResponse(UpdateMessageStreamResponse response) throws StreamManagerException
StreamManagerException
public static void throwIfErrorResponse(DeleteMessageStreamResponse response) throws StreamManagerException
StreamManagerException
public static void throwIfErrorResponse(DescribeMessageStreamResponse response) throws StreamManagerException
StreamManagerException
public static void throwIfErrorResponse(AppendMessageResponse response) throws StreamManagerException
StreamManagerException
public static void throwIfErrorResponse(ReadMessagesResponse response) throws StreamManagerException
StreamManagerException
public static void throwIfErrorResponse(ListStreamsResponse response) throws StreamManagerException
StreamManagerException