Use unchecked exception. #1555

Fixes `CheckedExceptionClass` inspection violations in test code.

Description:
>Reports checked exception classes (i.e. subclasses of Exception which are not also subclasses of RuntimeException). Certain coding standards require that all user-defined exception classes be unchecked.
This commit is contained in:
Michal Kordas 2015-08-20 22:38:43 +02:00 committed by Roman Ivanov
parent 841746e9c3
commit 655a496c88
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public class XMLLoggerTest {
assertEquals("last line.", "</checkstyle>", lines[lines.length - 1]);
}
private static class TestException extends Exception {
private static class TestException extends RuntimeException {
private static final long serialVersionUID = 1L;