Java – IntelliJ: search for checked exceptions, declare them in the method signature, but never throw them into the body
•
Java
I have a fairly simple IntelliJ / tools question here:
Thank you in advance
Solution
Open the settings and select editor - aspects Find the Java - declare redundancy - redundant throws clause and check it
Then run code analysis, although analysis - checks the code on the top menu
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码