Java 应用与开发 - 异常处理
在 Java 语言中,程序运行出错被称为出现异常(Exception)。 异常是程序运行过程中发生的事件,该事件可以中断程序指令的 正常执行流程。 O Java 异常分为两大类 1. 错误(Error)是指 JVM 系统内部错误、资源耗尽等严重情 况。 2. 违例(Exception)则是指其他因编程错误或偶然的外在因 素导致的一般性问题,例如对负数开平方根、空指针访问、 试图读取不存在的文件以及网络连接中断等。 在 Java 语言中,程序运行出错被称为出现异常(Exception)。 异常是程序运行过程中发生的事件,该事件可以中断程序指令的 正常执行流程。 O Java 异常分为两大类 1. 错误(Error)是指 JVM 系统内部错误、资源耗尽等严重情 况。 2. 违例(Exception)则是指其他因编程错误或偶然的外在因 素导致的一般性问题,例如对负数开平方根、空指针访问、 试图读取不存在的文件以及网络连接中断等。 成一个相应的异常类对象,然后再将它交给运行时系统。 ▶ 运行时系统再寻找相应的代码来处理这一异常。如果 Java 运行时系统找不到可以处理异常的代码,则运行时系统将终 止,相应的 Java 程序也将退出。 ▶ 程序员通常对错误(Error)无能为力,因而一般只处理违 例 (Exception)。 大纲 异常的概念及分类 Java 异常处理机制 Java 异常处理机制 ▶ Java 程序执行过程中如出现异常,系统会监测到并自动生0 码力 | 33 页 | 626.40 KB | 1 年前3Java EE 企业应用系统开发 - HTTP 响应处理编程
0 码力 | 26 页 | 575.28 KB | 1 年前3Java EE 企业应用系统设计 - HTTP 请求处理编程
0 码力 | 27 页 | 565.27 KB | 1 年前3httpd 2.4.25 中文文档
SetHandler server-status Require 127.0.0.1 access.log - GET /server-status 403 127.0.0.1 error.log - AH01797: client denied by server configuration: /var/www/html/server-status Why httpd denies the size overhead added by the compression is larger than the data to be compressed. Multi-language error documents from 2.2.x may not work unless they are adjusted to the new syntax of mod_include's #if #if expr= element or the directive SSILegacyExprParser is enabled for the directory containing the error documents. The functionality provided by mod_authn_alias in previous versions (i.e., the AuthnProviderAlias0 码力 | 2573 页 | 2.12 MB | 1 年前3httpd 2.2.31 中文文档
is now built with support for files larger than 2GB on modern 32- bit Unix systems. Support for handling >2GB request bodies has also been added. Event MPM The event MPM uses a separate thread to handle provider scheme which greatly eases the construction of new authentication backends. Connection Error Logging A new function, ap_log_cerror has been added to log errors that occur with the client's connection required for some third-party modules on platforms with small default thread stack size. Protocol handling for output filters In the past, every filter has been responsible for ensuring that it generates0 码力 | 1860 页 | 1.48 MB | 1 年前3httpd 2.2.29 中文文档
is now built with support for files larger than 2GB on modern 32- bit Unix systems. Support for handling >2GB request bodies has also been added. Event MPM The event MPM uses a separate thread to handle provider scheme which greatly eases the construction of new authentication backends. Connection Error Logging A new function, ap_log_cerror has been added to log errors that occur with the client's connection required for some third-party modules on platforms with small default thread stack size. Protocol handling for output filters In the past, every filter has been responsible for ensuring that it generates0 码力 | 1854 页 | 1.48 MB | 1 年前3httpd 2.2.27 中文文档
is now built with support for files larger than 2GB on modern 32- bit Unix systems. Support for handling >2GB request bodies has also been added. Event MPM The event MPM uses a separate thread to handle provider scheme which greatly eases the construction of new authentication backends. Connection Error Logging A new function, ap_log_cerror has been added to log errors that occur with the client's connection required for some third-party modules on platforms with small default thread stack size. Protocol handling for output filters In the past, every filter has been responsible for ensuring that it generates0 码力 | 1849 页 | 1.47 MB | 1 年前3httpd 2.2.27.dev 中文文档
is now built with support for files larger than 2GB on modern 32- bit Unix systems. Support for handling >2GB request bodies has also been added. Event MPM The event MPM uses a separate thread to handle provider scheme which greatly eases the construction of new authentication backends. Connection Error Logging A new function, ap_log_cerror has been added to log errors that occur with the client's connection required for some third-party modules on platforms with small default thread stack size. Protocol handling for output filters In the past, every filter has been responsible for ensuring that it generates0 码力 | 1849 页 | 1.47 MB | 1 年前3httpd 2.4.20 中文文档
the size overhead added by the compression is larger than the data to be compressed. Multi-language error documents from 2.2.x may not work unless they are adjusted to the new syntax of mod_include's #if #if expr= element or the directive SSILegacyExprParser is enabled for the directory containing the error documents. The functionality provided by mod_authn_alias in previous versions (i.e., the AuthnProviderAlias moved from the core to mod_filter, which must be loaded. Errors serving requests: configuration error: couldn't check user: /path - load module mod_authn_core. .htaccess files aren't being processed -0 码力 | 2533 页 | 2.09 MB | 1 年前3httpd 2.4.23 中文文档
SetHandler server-status Require 127.0.0.1 access.log - GET /server-status 403 127.0.0.1 error.log - AH01797: client denied by server configuration: /var/www/html/server-status Why httpd denies the size overhead added by the compression is larger than the data to be compressed. Multi-language error documents from 2.2.x may not work unless they are adjusted to the new syntax of mod_include's #if #if expr= element or the directive SSILegacyExprParser is enabled for the directory containing the error documents. The functionality provided by mod_authn_alias in previous versions (i.e., the AuthnProviderAlias0 码力 | 2559 页 | 2.11 MB | 1 年前3
共 569 条
- 1
- 2
- 3
- 4
- 5
- 6
- 57