当我说“catch(Exception e){}”时,它叫什么在Java中? [英] What is it called when I say "catch (Exception e) {}" in Java?
本文介绍了当我说“catch(Exception e){}”时,它叫什么在Java中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不确定这个答案。我无法找到它。这是空的错误处理吗?!
I am not sure about this answer. I cant find it anywhere. Is it the empty error handling?!
推荐答案
它被称为抑制异常或吞下异常。可能不是一个非常好的做法,除非有很好的理由评论。
It is known as suppressing the exception, or swallowing the exception. May not be a very good practice, unless commented with a very good reason.
这篇关于当我说“catch(Exception e){}”时,它叫什么在Java中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文