org.netbeans.lib.cvsclient.response
Class ErrorResponse

java.lang.Object
  extended by org.netbeans.lib.cvsclient.response.ErrorResponse
All Implemented Interfaces:
Response

public class ErrorResponse
extends java.lang.Object
implements Response

Indicates that the command completed with an error.


Constructor Summary
ErrorResponse()
           
 
Method Summary
 boolean isTerminalResponse()
          Is this a terminal response, i.e.
 void process(LoggedDataInputStream dis, ResponseServices services)
          Process the data for the response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorResponse

public ErrorResponse()
Method Detail

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

 

Built on October 26 2010.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.