Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - exception
Search - exception - List
只需注册 ::SetUnhandledExceptionFilter(ExpFilter); 将代码放到工程中编译就可以抓获当前错误堆栈文件输出,并且生成当前出错程序的dump。
Date : 2009-06-29 Size : 15.12kb User : xuswjtu@163.com

一个内存泄漏检测工具及其源码,值得研究研究--A detector tool and source code of memory leaks,worth discussing
Date : 2026-01-03 Size : 20kb User : 站长

DL : 0
public class gedebahe { public static void main( String [] args) { for ( ) { int a=-1,b,c //b,c是分解出来的两个数 System.out.print("Please input a oushu:") //输入一个偶数 try { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)) String inputLine = in.readLine() a = Integer.valueOf(inputLine).intValue() }catch (Exception exc) { System.out.println("Sorry,please input a number.") return } if (a%2!=0) { System.out.println("Sorry,please input a oushu.") return } for (b=1 b<a b++) { c=(a-b) if(isPrime(b)&&isPrime(c)) { System.out.println(a+"="+b+"+"+c) break } } } } public static boolean isPrime(int k)//方法用来判断一个数是否为偶数 { int a boolean t = true if (k==1) return t for (a=2 a<k a++) { if (k%a==0) break } if (a!=k) t=false return t-gedebahe public class (public static void main (String [] args) (for () (int a = a, b, c// b, c is the decomposition of the two several System.out.print ( "Please input a oushu : ")// input an even try (BufferedReader in = new BufferedReader (new InputStreamReader (System.in)) = String inputLine in.readLine () a = Integer.valueOf (inputLine). intValue ()) catch (Exception exc) ( System.out.println ( "Sorry, please input a number.") return) if (a 2%! = 0) (System.out.println ( "Sorry, please input a oushu.") return) for (b = a blt; a b) (c = (a-b) if (isPrime (b) isPrime (c)) (System.out.println (a "=" b "" c) break)))) public static boolean isPrime (int k)// method used to determine whether a number is even (int a boolean true if t =
Date : 2026-01-03 Size : 1kb User : 康健伟

.Net中的异常处理语义是基于类型的,所以你可以创建具有其自己的属性和方法的自定义异常。异常是 .Net 中头等重要的一个元素,因为它是内建的错误处理机制,因此所有 .NET 兼容的语言都必须支持异常。另外, .Net 代码可以将 COM+ 服务作为 Enterprise Services(企业服务)来获得,所以你可以在 Enterprise Services 设计中定制异常。本程序的功能是从服务性组件产生定制异常,该组件被配置在一个 COM+ 服务器应用环境中执行(相对于库应用环境)。-. Net in the exception handling is based on the type of semantics, so you can create with their own properties and methods of self-definition of abnormal. Abnormal. Net of the most important element, because it is built-in error handling mechanism, all. NET-compliant languages must support the anomaly. In addition,. Net code can COM+ Service as part of the Enterprise Services (Corporate Services) to obtain, so you can customize the design of Enterprise Services abnormal. This procedure s function is generated from the service components custom anomaly, the component is configured in a COM+ Server application environment to implement (as opposed to database application environment).
Date : 2026-01-03 Size : 135kb User : 谈一虎

你觉得自己是一个Java专家吗?是否肯定自己已经全面掌握了Java的异常处理机制?在下面这段代码中,你能够迅速找出异常处理的六个问题吗?-you think is a Java expert? Sure they have complete control of the Java exception handling mechanism? Below this code, you can quickly identify anomalies of six?
Date : 2026-01-03 Size : 9kb User : 方脸

学习Java的过程中所做的联系的汇总 字符串的输入、字符串转化到整数、异常处理、流 最大公约数和最小公倍数 字符ASCII码的比较 一元二次方程根 求根公式 窗口类、按钮类、窗口中对象(如按钮)的布局、事件、绘图(Paint) 复选框、单选框、列表框、下拉选择框 菜单类、对话框类 绘图、绘图函数 按钮类、标签类 -learning through the process linked to the summary of the input string, the string to integer conversion, exception handling, flow and implements the common denominator ASCII characters in the comparison one yuan quadratic equation- roots formula window type, category buttons, window objects (such as buttons) layout, the incident, mapping (Paint) check box alone selects, list box, the drop-down menu selection box category, the category dialog graphics, mapping function button type, category label
Date : 2026-01-03 Size : 2kb User : 星曦

DL : 0
矩阵运算库文件,动态定义了多维数组。其中包括了矩阵的定义,通用矩阵运算,内存管理,异常处理等等。内容很全,从此不必再为动态数组烦恼-matrix calculation libraries, dynamic definition of a multi-dimensional arrays. These include the definition of the matrix, GM matrix calculation, memory management, exception handling, etc.. All content is, henceforth no longer dynamic array troubles
Date : 2026-01-03 Size : 6kb User : wang yu

DL : 0
IIC总线控制器得原理和一个特例,设计时可以参考-IIC bus controller in principle and an exception can reference design
Date : 2026-01-03 Size : 869kb User : 王红波

DL : 0
几乎所有设备的传导干扰都包含共模噪音和差模噪音,开关电源也不例外。共模干扰是由于载流导体与大地之间的电位差产生的,其特点是两条线上的杂讯电压是同电位同向的;而差模干扰则是由于载流导体之间的电位差产生的,其特点是两条线上的杂讯电压是同电位反向的。-almost all the equipment includes EMI common mode noise and differential mode noise, switching power supply is no exception. Common mode noise is due to current carrying conductor between the earth and the potential of the poor, Its characteristics are two lines of noise voltage is the same with the potential to; while differential mode interference is the result of current-carrying conductor of the potential difference, Its characteristics are two lines of noise voltage potential is the reverse of the same.
Date : 2026-01-03 Size : 49kb User :

DL : 0
是一个客户/服务器程序,运行较复杂 此运用了Java语言的多线程、异常处理、画图、Socket技术、网络传输中的组播等-is a client/server program, the more complicated this operation using the Java language, multithread Exception handling, drawing, Socket technology, network transmission of Multicasting
Date : 2026-01-03 Size : 93kb User : 小马

一:问题描述 针对某个集体(比如你所在的班级)中的“人名”设计一个哈希表,使得平均查找长度不超过R,完成相对的建表和查表程序。 二:基本要求 假设人名为中国人姓名的汉语拼音形式。待填入哈希表的人名共有30个,取平均查找长度的上限为2。哈希函数用除留余数法构造,用伪随机探测再散列法处理冲突。 三:实现提示 如果随机函数自行构造,则应首先调整好随机函数,使其分布均匀。人名的长度均不超过19个字符(最长的人名如:庄双双(ZHAGN SHUANG SHUANG)。字符的取码方法可直接利用C语言中的tosacii函数,并可对过长的人名先作折叠处理。 四:需求分析 本演示程序是对哈希表的建立和查找进行演示,主要数据来自自己编写的人名“A~~Z”等字母组成,拼音由开头的字母组成的词组,查找时用伪随机探测再散列法处理冲突。随机产生人名的位置。具体的程序内容在源程序里面有比较详细的解析。程序的运行在下列有详细的介绍。 -one : Problem description against any collective (such as your own classes) of "names" design a hash table. you make the average length of not more than R, completes the construction and Lookup Table procedures. Two : the assumption that the basic requirements were known as the Chinese name of Chinese pinyin form. Hash Table question Enter the names of a total of 30, you take the average length of a maximum of two. Hash functions with a few exception I stay constructed using pseudo-random re-hash detection method to resolve disputes. 3 : Achieving suggested random function on its own if the structure should first be adjusted his random function, it evenly distributed. Names not on the length of more than 19 characters (the longest names such as : both Chong (ZHAGN SHUANG SHUANG).
Date : 2026-01-03 Size : 2kb User : wjs

DL : 1
编写一个巨型整数类HugeInt,可以用默认值0或长整型数或字符串进行对象的初始化(构造) 然后用成员、友元或普通函数等重载相应的运算符实现下述功能(必须优化算法、同时进行异常处理):“巨型整数”OP“巨型整数/长整型数/字符串” [其中OP为:加+、减-、乘*、整除/、求余%、复合运算(+=、-=、*=、/=、%=)和关系运算(>、>=、<、<=、!=和==)] “长整型数/字符串”OP “巨型整数”(其中OP为:+、-、*、/、%和关系运算),求负(-巨型整数),巨型整数++、++巨型整数,--巨型整数、巨型整数--,插入(输出)运算符<<。 最后编写一个主函数(测试程序)对以上功能进行全面的测试。-prepared a giant HugeInt type Integer, can use the default value 0 or long integer or string for a few object initialization (Construction) then members Friends yuan or ordinary functions such as heavy corresponding Operators achieve the following functions (must optimization algorithm, Exception handling simultaneously) : "Mega-integer" OP "giant integer/long integer/strings" [which OP :, plus or minus-, x*, divisibility /, I requested% Composite Operators (=,-=,*=,/=,%=) relations and operations (
Date : 2026-01-03 Size : 10kb User : 小吴

DL : 0
查找程序运行时错误,保留出错的CONTEXT-Search procedures for run-time error, retention error CONTEXT
Date : 2026-01-03 Size : 26kb User : mac

DL : 0
文件异常处理的一个例子,其他人不需帐号就可自由下载此源码。-Paper an example of exception handling, others do not account for this source can be downloaded free.
Date : 2026-01-03 Size : 2.03mb User : finger22

DL : 0
SQLServer2005异常包 异常包-Exception sql2005
Date : 2026-01-03 Size : 355kb User : 猪默默

samples for exception handling
Date : 2026-01-03 Size : 1kb User : PV

理解什么是异常及异常可能产生的原因,掌握异常抛出和捕获语句并理解专有catch块的使用 -Understand what is the cause abnormalities and anomalies that may arise, master exception is thrown and caught statement and understand the use of proprietary catch block
Date : 2026-01-03 Size : 11kb User : qiaoweikang

VS2008平台 异常处理 使用异常处理将带来更多的系统开销。因此慎用异常。-VS2008 platform Exception handling The use of exception handling will lead to more system overhead.Therefore careful anomalies.
Date : 2026-01-03 Size : 3.69mb User : xw

DL : 0
关于异常的一些小例子,可以帮助大家理解java的异常处理机制(Some small examples of exceptions can help you understand Java's exception handling mechanism)
Date : 2026-01-03 Size : 3kb User : weixiaoxiangnuan4100

DL : 0
对Java中的exception进行了一些测试,主要是先定义一个有exception抛出的方法,如何在调用这个函数(the test of java exception)
Date : 2026-01-03 Size : 1kb User : spring1157
« 12 3 4 5 6 7 8 »
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.