📄 tsld043.htm
字号:
<HTML>
<HEAD>
<META HTTP-EQUIV="Context-Type" CONTEXT="text/html;charset=windows-1252">
<meta name="GENERATOR" content="Microsoft Internet Assistant for PowerPoint 97">
<TITLE>Java Exceptions and Errors</TITLE>
</HEAD>
<BODY >
<H1>Java Exceptions and Errors</H1>
<P><UL>
<LI><H2>There is a trade-off between correctness and clarity :
</H2>
<UL>
<LI>Correctness, checking for errors,
<LI>Clarity, a clear and readable basic flow of the code.
</UL></UL><UL>
<LI><H2>Exceptions are a clean way to manage abnormal states.
</H2>
</UL><UL>
<LI><H2>Exception : mild error which you can handle.
</H2>
</UL><UL>
<LI><H2>Error : serious error -> termination.
</H2>
</UL><UL>
<LI><H2>The idea is to signal exceptions to the current running process announcing that a problem has occurred.
</H2>
</UL><UL>
<LI><H2>An exception is thrown and then caught.
</H2>
</UL></P>
<P></P>
<P>
<TABLE>
<TD HEIGHT=100 WIDTH=100> <A HREF="tsld042.htm">Previous slide</A> </TD>
<TD HEIGHT=100 WIDTH=100> <A HREF="tsld044.htm">Next slide</A> </TD>
<TD HEIGHT=100 WIDTH=150> <A HREF="tsld001.htm">Back to first slide</A> </TD>
<TD HEIGHT=100 WIDTH=150> <A HREF="sld043.htm">View graphic version</A> </TD>
</TABLE>
<BR>
</P>
</Body>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -