public static void error ( Throwable e ) throws JMapperException { logger . error ( "{}: {}" , e . getClass ( ) . getSimpleName ( ) , e . getMessage ( ) ) ; throw new JMapperException ( e ) ; }
This method handles error log .