org.sonar.l10n.java.rules.java.S1194.html Maven / Gradle / Ivy
The newest version!
Why is this an issue?
java.lang.Error and its subclasses represent abnormal conditions, such as OutOfMemoryError, which should only be
encountered by the Java Virtual Machine.
Noncompliant code example
public class MyException extends Error { /* ... */ } // Noncompliant
Compliant solution
public class MyException extends Exception { /* ... */ } // Compliant
© 2015 - 2025 Weber Informatics LLC | Privacy Policy