public WarningMessage getWarning ( int index ) { if ( index < getWarningCount ( ) ) { return ( WarningMessage ) this . warnings . get ( index ) ; } return null ; }
Returns the specified warning message or null .