public static IQ error(IQ iq, String errorMessage, Exception e,
            Logger logger) {
        logger.error(errorMessage, e);
        return XMPPUtils.createErrorResponse(iq, errorMessage,
                Condition.bad_request, Type.modify);
    }
public static IQ error ( IQ iq , String errorMessage , Exception e , Logger logger ) { logger . error ( errorMessage , e ) ; return XMPPUtils . createErrorResponse ( iq , errorMessage , Condition . bad_request , Type . modify ) ; }
@param iq
@param errorMessage
@param logger
@return