class ResponseContentUtil {

    public static ResponseContent<?> handleException(final String errorMsg) {
        ResponseContent<?> result = new ResponseContent<>();
        result.setSuccess(false);
        result.setErrorCode(ResponseCode.SERVER_ERROR);
        result.setErrorMsg(errorMsg);
        return result;
    }

}