📄 package.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. It contains pointcuts, advice, introductions,
declarations, and methods that make the model work. The
package contains two basic exception classes that are known to the
ExceptionHandling aspect. They are FaultException and
ContingencyException, representing faults and contingencies,
respectively. The ContingencyException class can be
subclassed to represent particular conditions that are meaningful to
your application. </p><p>Unless you want to
change particular behaviors, there is no need to edit the source code
for ExceptionHandling, FaultException, or ContingencyException.
</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(). 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 + -