Error Handling with Exceptions(Thinking in Java)
2010-03-10 21:07
337 查看
When you override a method, you can throw only the exceptions that have been specified in the base-class version of the method. This is a useful restriction, since it means that code that works with the base class will automatically work with any object derived from the base class (a fundamental OOP concept, of course), including exceptions.
相关文章推荐
- Think In Java 笔记8 Error Handling with Exceptions
- JAVA 复习(Think In Java, 4th) -- Error Handling with Exceptions
- 第九章: Error Handling with Exceptions
- Error Handling with Exceptions【2】
- Error Handling with Exceptions【4】
- Error Handling with Exceptions【5】
- Error Handling with exceptions
- Thinking in Java,Fourth Edition(Java 编程思想,第四版)学习笔记(十二)之Error Handling with Exceptions
- Error Handling with Exceptions【3】
- Error Handling with C++ Exceptions, Part 1
- Error Handling with Exceptions【1】
- Error:Execution failed for task ':xxx:compileReleaseJavaWithJavac'.
- Microsoft BizTalk Server and Microsoft Dynamics AX Integration - Part 4.1 - Error Handling with BizTalk Administration
- Exception handling with custom error pages in ASP.NET using C#.
- Error:Execution failed for task ':app:compileDebugJavaWithJavac'.解决方案
- java.io.IOException: Got error, status message , ack with firstBadLink as 192.168.*.* 50010
- java.lang.IllegalArgumentException: already added ...Conversion to Dalvik format failed with error 1解决办法
- Java-4-解决报错:Error creating bean with name 'globalAppObj': Injection of autowired dependencies failed
- [Java]Error:No enclosing instance of type E is accessible. Must qualify the allocation with an enclo
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'解决办法