protected void handleError ( String errMsg ) throws Exception { // log it LOGGER . log ( Level . SEVERE , errMsg ) ; // and throw an error if this is configured if ( this . isThrowExceptionOnError ( ) ) { throw new Exception ( errMsg ) ; } }
handle the given error Message according to the exception setting