public final class ErrorMessageResponse extends java.lang.Object implements Response
ErrorResponse| Constructor and Description |
|---|
ErrorMessageResponse() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Get the error message.
|
boolean |
isTerminalResponse()
Is this a terminal response, i.e. should reading of responses stop
after this response.
|
void |
process(LoggedDataInputStream dis,
ResponseServices services)
Process the data for the response.
|
public void process(LoggedDataInputStream dis, ResponseServices services) throws ResponseException
process in interface Responser - the buffered reader allowing the client to read the server's
response. Note that the actual response name has already been read
and the reader is positioned just before the first argument, if any.ResponseExceptionpublic boolean isTerminalResponse()
isTerminalResponse in interface Responsepublic java.lang.String getMessage()