if (child == null) break;
    public String toString() {        // If I represent a GDSMessage code, then let's format it nicely.        if (type == GDS.isc_arg_gds) {            // get message            GDSExceptionHelper.GDSMessage message =                GDSExceptionHelper.getMessage(intParam);            // substitute parameters using my children            int paramCount = message.getParamCount();            GDSException child = this.next;            for(int i = 0; i < paramCount; i++) {                message.setParameter(i, child.getParam());                child = child.next;                if (child == null) break;            }            // convert message to string            String msg = message.toString();            // Do we have more children? Then include them...            if (child != null)                msg += "\n" + child.toString();            // Ok, we have a message, so return it to the client.            return msg;        }        // ok, I'm not GDSMessage code, somebody invoked toString() method        // on me by mistake... :(        return "";    }