public void addWarning ( SQLWarning warn ) { // Add the warning to the chain if ( firstWarning != null ) { firstWarning . setNextWarning ( warn ) ; } else { firstWarning = warn ; } }
This adds a warning to the warning chain .