public void error(Throwable exception, String message)
    {
        logger.log(SEVERE, message, exception);
    }
public void error(Throwable exception, String message)
    {
        logger.log(SEVERE, message, exception);
    }
public void error ( Throwable exception , String message ) { logger . log ( SEVERE , message , exception ) ; }
Logs a message at ERROR level.

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