question: public static void close ( @ Nullable Context rsrc , @ Nullable IgniteLogger log ) { if ( rsrc != null ) try { rsrc . close ( ) ; } catch ( NamingException e ) { warn ( log , "Failed to close resource: " + e . getMessage ( ) ) ; } }
target:  Closes given resource logging possible checked exception.