public void warn(Throwable exception, String message)
    {
        logger.log(WARNING, message, exception);
    }
public void warn(Throwable exception, String message)
    {
        logger.log(WARNING, message, exception);
    }
public void warn ( Throwable exception , String message ) { logger . log ( WARNING , message , exception ) ; }
Logs a message at WARN level.

@param exception an exception associated with the warning being logged
@param message a literal message to log
Logs a message at WARN level .