Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: REM cost reform

...

Failure to document undeclared checked exceptions can result in checked exceptions that the caller is unprepared to handle, consequently violating the safety property.

Rule

Severity

Likelihood

Remediation Cost

Detectable

Repairable

Priority

Level

ERR06-J

Low

Unlikely

No

High

No

P1

L3

Related Guidelines

MITRE CWE

CWE-703, Improper Check or Handling of Exceptional Conditions
CWE-248, Uncaught Exception

Bibliography

[API 2014]Thread.stop(Throwable)

[Bloch 2008]

Item 2, "Consider a Builder When Faced with Many Constructor Parameters"

[Goetz 2004b]

 


[JLS 2015]

Chapter 11, "Exceptions"

[Roubtsov 2003]

 


[Schwarz 2004]

 


[Venners 2003]

"Scalability of Checked Exceptions"

 


...