protected void handleError(OperationErrorType eType, String line)
    throws IOException {
    getLogger().error("Error:  %s", line);
    switch (eType) {
    case GENERAL:
      exception = new OperationException();
      break;
    case SERVER:
      exception = new OperationException(eType, line);
      break;
    case CLIENT:
      exception = new OperationException(eType, line);
      break;
    default:
      assert false;
    }
    callback.receivedStatus(new OperationStatus(false,
        exception.getMessage(), StatusCode.ERR_INTERNAL));
    transitionState(OperationState.COMPLETE);
    throw exception;
  }
Transition the state of this operation to the given state.
src/main/java/net/spy/memcached/protocol/BaseOperationImpl.java