正常运行时间当一个网站发布以后,你肯定希望你的网站不会遇到任何问题,一直处在正常运行状态之中。现在,我使用下面这些工具来监控“Superexpert.com”网站,确保它一直处在正常运行状态之中。4,ELMAHELMAH 是 Error Logging Modules and Handlers fo...
分类:
Web程序 时间:
2014-12-12 14:47:25
阅读次数:
251
第四章异常处理
PL/SQL 块是构成 PL/SQL 程序的基本单元
将逻辑上相关的声明和语句组合在一起
PL/SQL 分为三个部分,声明部分、可执行部分和异常处理部分
[DECLARE
declarations]
BEGIN
executable statements
[EXCEPTION
handlers]
...
分类:
数据库 时间:
2014-12-09 21:35:53
阅读次数:
336
简单示例
import sys
import ctypes
import logging
import logging.handlers
reload(sys)
sys.setdefaultencoding('utf-8')
LOG_FILE = 'test_log'
logging.basicConfig(
filename = LOG_FILE,
...
分类:
编程语言 时间:
2014-12-04 18:08:17
阅读次数:
221
Consider the following code:public class SampleActivity extends Activity { private final Handler mLeakyHandler = new Handler() { @Override publ...
分类:
其他好文 时间:
2014-11-27 12:39:19
阅读次数:
192
今天在robert penner(as3 singal的作者)的一篇blog文中顺藤摸瓜到了darron schall的另外一篇blog文(Creating Default, Cancelable Event Handlers),仔细看了一下,忽然有种相见恨晚的感觉。确实是啊~rober penne...
介绍在前一篇文章中我们介绍了故障容差相关的 MaximumErrorCount 和 ForceExecutionResult 属性. 同时我们学习了SSIS Control Flow task errors, containers, 和event handlers联系 .本篇中我们关注事件行为. 我...
分类:
其他好文 时间:
2014-11-12 13:29:30
阅读次数:
204
先贴上Application这个类的源码。class Application(httputil.HTTPServerConnectionDelegate): """A collection of request handlers that make up a web application. ...
分类:
移动开发 时间:
2014-11-11 22:21:49
阅读次数:
287
//// prioritised_handlers.cpp// ~~~~~~~~~~~~~~~~~~~~~~~~//// Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)//// Distribut...
分类:
其他好文 时间:
2014-11-10 17:39:01
阅读次数:
145
首先发生的是一些和 Django 有关(前期准备)的其他事情,分别是:如果是 Apache/mod_python 提供服务,request 由 mod_python 创建的 django.core.handlers.modpython.ModPythonHandler 实例传递给 Django。如果...
分类:
其他好文 时间:
2014-11-02 18:06:06
阅读次数:
242
var add_the_handlers = function (nodes) {var helper=function (i) {return function (e) {alert(i);};}; var i; for (i = 0; i < nodes.length; i += 1...
分类:
Web程序 时间:
2014-11-01 14:44:59
阅读次数:
160