前言 在项目中为了方便调试及客户反馈,需要Socket错误数字的中文解释,MSDN上只有英文版,同时也想自己学习而且方便将来更新ErrorCode的实际发生的情景,顾有此博文。 MSDN:https://msdn.microsoft.com/zh-cn/library/ms740668(v=vs.....
分类:
其他好文 时间:
2015-03-12 20:45:52
阅读次数:
391
解决方式:1、jdbc URL链接为:jdbc.url=jdbc:db2://192.168.128.123:50000/pom_ct:driverType=4;fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progre...
分类:
数据库 时间:
2015-03-02 14:44:56
阅读次数:
720
Linux 下基于多线程服务器/客服端聊天程序,采用阻塞的socket技术,和多线程技术实现。
客服端程序:client.c
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define BUFFSIZE 1024
#define ERRORCODE -...
分类:
编程语言 时间:
2015-03-01 14:32:06
阅读次数:
228
自定义错误页面views.py@app.errorhandler(404)def internal_error(error): return render_template('error.html',errorcode = 404, errormsg = 'page not found')@a...
分类:
其他好文 时间:
2015-02-25 15:22:17
阅读次数:
168
主要错误信息属性:1.EFDDBEngineException Errors -- TFDDBError对象集合.ErrorCount --错误的记录数Kind -- DBMS的错误集合.Message --错误消息.2. TFDDBError属性:ErrorCode -- DBMS错误代码Kind...
分类:
其他好文 时间:
2015-02-24 13:47:03
阅读次数:
235
使用get请求http,查看平均响应时间,以及TPS,code如下:get(){ //get方式接口 //char *errorcode; //int res; //lr_start_transaction("get"); /* web_reg_save_param("Result", "No...
分类:
其他好文 时间:
2015-01-27 17:41:12
阅读次数:
224
Create Proc sp_Cursor(nvarchar(50) @GPGENNo)as Declare @ErrorCode nvarchar(MAX)begin---- 例子 select * into #TempGPGENDetail from GPGENDetail where GPGe...
分类:
数据库 时间:
2014-12-25 09:58:29
阅读次数:
161
在提供服务的时候,为了方便排查问题,很多时候我们需要把错误信息放在返回信息中返回给请求。
闲话不多说,分享下我的一个错误信息管理类ZSGErrorManage:
错误code:
public static enum ERRORCODE{
ERROR_OK,
ERROR_OTHER,
ERROR_PARAM_ILLEGALITY,
ERROR_UNKNOWN;
}
获取...
分类:
其他好文 时间:
2014-12-24 11:51:39
阅读次数:
106
[html] view
plaincopyprint?
span style="white-space:pre">span>span style="white-space:pre"> span>c:if test="${sessionScope.errorcode!=null}">
span style="wh...
分类:
Web程序 时间:
2014-11-27 10:42:42
阅读次数:
268
1 // get files 2 private ErrorCode get_files(string profile) 3 { 4 ErrorCode err = ErrorCode.Err_None; 5 File...