scopes = SLPUtil.parseScopes(scopeList);
scopes = SLPUtil.stringToVector(scopeList);
    public void fromInputStream(SLPInputStream stream) throws ServiceLocationException {        super.fromInputStream(stream);        int scopeLen = 0;        String scopeList = "";        int attrLen = 0;        String attrList = "";        try {            errorCode = stream.readShort(); // error            timestamp = stream.readInt(); // timestamp            int urlLen = stream.readShort(); // url length            url = new ServiceURL(stream.readString(urlLen)); // url            scopeLen = stream.readShort(); // scope list length            scopeList = stream.readString(scopeLen); // scope list            attrLen = stream.readShort(); // attr list length            attrList = stream.readString(attrLen); // attr list.                // SPI and Auth block are not implemented.            // SPI is ignored. If an authentication block is included,            // we can not handle the message, and throw an exception            int len = stream.readShort();            stream.readString(len); // SPI list (ignored)            len = stream.readByte();            for(int i=0; i<len; i++) {                AuthBlock b = new AuthBlock();                b.fromInputStream(stream);                authBlocks.add(b);            }            if(len != 0) {                throw new ServiceLocationException(ServiceLocationException.AUTHENTICATION_FAILED); // does not support auth blocks            }        }catch(IOException ioe) {            throw new ServiceLocationException(ServiceLocationException.PARSE_ERROR);        }                        // create scope vector        if(scopeLen != 0) {            scopes = SLPUtil.parseScopes(scopeList);        }        // create attr. list        if(attrLen != 0) {            attributes = SLPUtil.parseAttributes(attrList);        }    }