public static void close(Closeable a) {
        try {
            if (a != null) {
                a.close();
            }
        } catch (Exception e) {
            throw wrap(e);
        }
    }
public static void close ( Closeable a ) { try { if ( a != null ) { a . close ( ) ; } } catch ( Exception e ) { throw wrap ( e ) ; } }
Close a Closeable if it is not null.

@param a
The Closeable or null.