if (type == GDS.isc_arg_gds) {
if (type == GDS.isc_arg_gds || type == GDS.isc_arg_warning) {
    public String getMessage() {        String msg;                GDSException child = this.next;                // 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();            for(int i = 0; i < paramCount; i++) {                if (child == null) break;                message.setParameter(i, child.getParam());                child = child.next;            }            // convert message to string            msg = message.toString();        }        else {            // No GDSMessage code, so use the default message.            msg = super.getMessage();        }          // Do we have more children? Then include their messages too.        //while (child != null) {        if (child != null)            msg += "\n" + child.getMessage();        //    child = child.next;        //}         return msg;    }