org.netbeans.lib.cvsclient.response
Class ErrorResponse
java.lang.Object
org.netbeans.lib.cvsclient.response.ErrorResponse
- All Implemented Interfaces:
- Response
public class ErrorResponse
- extends Object
- implements Response
Indicates that the command completed with an error.
- Author:
- Robert Greig
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorResponse
public ErrorResponse()
process
public void process(LoggedDataInputStream dis,
ResponseServices services)
throws ResponseException
- Process the data for the response.
- Specified by:
process
in interface Response
- Parameters:
dis
- the data inputstream allowing the client to read the server's
response. Note that the actual response name has already been read
and the input stream is positioned just before the first argument, if
any.
- Throws:
ResponseException
isTerminalResponse
public boolean isTerminalResponse()
- Is this a terminal response, i.e. should reading of responses stop
after this response. This is true for responses such as OK or
an error response
- Specified by:
isTerminalResponse
in interface Response
Copyright © 2011. All Rights Reserved.