public void warning2(final String filename,int ln,int col,Object msg,String source){
  warning(filename,ln,col,msg.toString(),source);
}

public void warning2 ( final String filename , int ln , int col , Object msg , String source ) { warning ( filename , ln , col , msg . toString ( ) , source ) ; }
c : the error ( ) and warning ( ) reporting system use error codes . but the error2 ( ) and warning2 ( ) reporting system uses message object types .
