@ -14,11 +14,20 @@ This is a {{ site.pmd.release_type }} release.
|
||||
|
||||
### New and noteworthy
|
||||
|
||||
#### New Rules
|
||||
|
||||
* The new Java rule {% rule "java/design/AvoidUncheckedExceptionsInSignatures" %} finds methods or constructors
|
||||
that declare unchecked exceptions in their `throws` clause. This forces the caller to handle the exception,
|
||||
even though it is a runtime exception.
|
||||
|
||||
### Fixed Issues
|
||||
* java-design
|
||||
* [#1692](https://github.com/pmd/pmd/issues/1692): \[java] Add rule to avoid declaration of throwing unchecked exception
|
||||
|
||||
### API Changes
|
||||
|
||||
### External Contributions
|
||||
* [#1704](https://github.com/pmd/pmd/pull/1704): \[java] Added AvoidUncheckedExceptionsInSignatures Rule - [Bhanu Prakash Pamidi](https://github.com/pamidi99)
|
||||
|
||||
{% endtocmaker %}
|
||||
|
||||
|
14
pmd-core/src/main/resources/rulesets/releases/6130.xml
Normal file
14
pmd-core/src/main/resources/rulesets/releases/6130.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<ruleset name="6130"
|
||||
xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 https://pmd.sourceforge.io/ruleset_2_0_0.xsd">
|
||||
<description>
|
||||
This ruleset contains links to rules that are new in PMD v6.13.0
|
||||
</description>
|
||||
|
||||
<rule ref="category/java/design.xml/AvoidUncheckedExceptionsInSignatures"/>
|
||||
|
||||
</ruleset>
|
||||
|
Reference in New Issue
Block a user