⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 package.html

📁 java的异常处理 java的异常处理
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta
 content="text/html; charset=ISO-8859-1"
 http-equiv="content-type"><title>Exception Package</title></head><body>This
package contains an Aspect-Oriented implementation of the
Fault-Contingency exception handling model. It was developed
using Eclipse
3.2.1 with the AspectJ Development Tools (AJDT) 1.4.1 plug-in
installed. <p>The abstract aspect ExceptionHandling is the heart
of the package. &nbsp;It contains pointcuts, advice, introductions,
declarations, and methods that make the model work. &nbsp; The
package contains two basic exception classes that are known to the
ExceptionHandling aspect. &nbsp;They are FaultException and
ContingencyException, representing faults and contingencies,
respectively. &nbsp; The ContingencyException class can be
subclassed to represent particular conditions that are meaningful to
your application. &nbsp;</p><p>Unless you want to
change particular behaviors, there is no need to edit the source code
for ExceptionHandling, FaultException, or ContingencyException.
&nbsp;</p><p>To integrate the package with your
application, you need to supply a working aspect that extends
ExceptionHandling and supplies implementations for the methods
isFaultBarrier() and recordFaultDiagnostics(). &nbsp;This package
contains the aspect ExceptionHandlingIntegrator, a very basic example.</p>So,
to use the code you need to follow these steps:<br><ol><li>Import
this package into your AspectJ-enabled development environment</li>
<li>Replace
the example ExceptionHandlingIntegrator aspect with one that contains 
implementations of isFaultBarrier() and recordFaultDiagnostics()
that make sense for your application.</li><li>Compile and
run.</li></ol>
<p>The comments in the code contain more information and guidance.

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -