Error Handling with Exceptions(Thinking in Java)
转载 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.
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:Understanding Platform Invocation Services(Chapter 1 of COM and .NET Interoperability) part2
下一篇:Understanding Platform Invocation Services(Chapter 1 of COM and .NET Interoperability) part1
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Spring kafka error handling
kafka error handling
kafka apache spring -
MySQL Error Handling in Stored Proceduressql mysql 处理方法 错误代码 字符串