handle an error with a message . concode_field_sep int MAX_EXCEPTIONS concode_elem_sep int exceptionCount concode_elem_sep long EXCEPTION_INTERVAL concode_elem_sep long lastException concode_elem_sep Appender appender concode_elem_sep Logger LOGGER concode_field_sep Appender getAppender
void function ( final String arg0 ) { final long loc0 = System . nanoTime ( ) ; if ( loc0 - lastException > EXCEPTION_INTERVAL || exceptionCount ++ < MAX_EXCEPTIONS ) { LOGGER . error ( arg0 ) ; } lastException = loc0 ; }