question: protected void warningOccurred ( int code ) { cbLock . lock ( ) ; try { if ( ( code < 0 ) || ( code > MAX_WARNING ) ) { throw new InternalError ( "Invalid warning index" ) ; } processWarningOccurred ( "com.sun.imageio.plugins.jpeg.JPEGImageReaderResources" , Integer . toString ( code ) ) ; } finally { cbLock . unlock ( ) ; } }
target:  Called by the native code or other classes to signal a warning. The code is used to lookup a localized message to be used when sending warnings to listeners.