human
Complete the below
def _coerce_exceptions(function):

    ''''Decorator that causes exceptions thrown by the decorated function
    to be coerced into generic exceptions from the hadoop.fs.exceptions
    module.'
    '''

Write me a the Python program you requested?
assistant
#Here is the Python program you requested.
    def wrapper(*args, **kwargs):
        try:
            return function(*args, **kwargs)
        except IOException as e:
            e.msg = force_unicode(e.msg, errors='replace')
            e.stack = force_unicode(e.stack, errors='replace')
            LOG.exception(('Exception    in    Hadoop    FS    call    ' + function.__name__))
            if (e.clazz == HADOOP_ACCESSCONTROLEXCEPTION):
                raise PermissionDeniedException(e.msg, e)
            else:
                raise
    return wrapper