void addWarning ( SQLWarning w ) { // PRE: w is never null synchronized ( rootWarning_mutex ) { if ( rootWarning == null ) { rootWarning = w ; } else { rootWarning . setNextWarning ( w ) ; } } }
Adds another SQLWarning to this Connection object s warning chain .