文件名称:Count
-
所属分类:
- 标签属性:
- 上传时间:2014-09-23
-
文件大小:5.81kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Java以本地化显示错误信息的例子源码,在编写支持程序时,总是需要显示某些错误的信息,支持国际化和本地化的程序需要根据操作系统提供的信息来使用用户本地字符集来显示相应的错误信息。此程序根据相应的例外处理指定相应的错误显示信息,它为每个例外提供相应的错误消息。
实现方法和大致的思路:
在资源文件内为每个例外类构建相应的错误消息,在程序当中载入这些资源,使用Errors 作为在
资源当中查找的根,而使用例外对象的类名作为资源名字。-Java source code examples to localize the error message is displayed, in the preparation of the support program, always need to display some wrong information, support internationalization and localization program needs based on the information provided by the operating system to use the user s local character set to display appropriate error message. This program specifies an appropriate error message is displayed in accordance with the appropriate exception handling, it provides an appropriate error message for each exception.
Implementation and general ideas:
In the resource file to build an appropriate error message for each exception type, load these resources in the program which, as in the use of Errors
Resources were looking for roots, and use the exception object s class name as the resource name.
实现方法和大致的思路:
在资源文件内为每个例外类构建相应的错误消息,在程序当中载入这些资源,使用Errors 作为在
资源当中查找的根,而使用例外对象的类名作为资源名字。-Java source code examples to localize the error message is displayed, in the preparation of the support program, always need to display some wrong information, support internationalization and localization program needs based on the information provided by the operating system to use the user s local character set to display appropriate error message. This program specifies an appropriate error message is displayed in accordance with the appropriate exception handling, it provides an appropriate error message for each exception.
Implementation and general ideas:
In the resource file to build an appropriate error message for each exception type, load these resources in the program which, as in the use of Errors
Resources were looking for roots, and use the exception object s class name as the resource name.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Count/.classpath
Count/.project
Count/bin/myejb/Count.class
Count/bin/myejb/CountBean.class
Count/bin/myejb/CountClient.class
Count/bin/myejb/CountHome.class
Count/META-INF/ejb-jar.xml
Count/src/myejb/Count.java
Count/src/myejb/CountBean.java
Count/src/myejb/CountClient.java
Count/src/myejb/CountHome.java
Count/bin/myejb
Count/src/myejb
Count/bin
Count/META-INF
Count/src
Count
Count/.project
Count/bin/myejb/Count.class
Count/bin/myejb/CountBean.class
Count/bin/myejb/CountClient.class
Count/bin/myejb/CountHome.class
Count/META-INF/ejb-jar.xml
Count/src/myejb/Count.java
Count/src/myejb/CountBean.java
Count/src/myejb/CountClient.java
Count/src/myejb/CountHome.java
Count/bin/myejb
Count/src/myejb
Count/bin
Count/META-INF
Count/src
Count
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
