aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/checks/design/throwscount/InputThrowsCountMethodWithAnnotation.java
blob: 20a61431f36a3f1449d48e5851283a2f89f3056c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.puppycrawl.tools.checkstyle.checks.design.throwscount;

import java.awt.AWTException;
import java.io.EOFException;
import java.io.FileNotFoundException;
import java.nio.file.FileAlreadyExistsException;
import java.sql.SQLException;

public class InputThrowsCountMethodWithAnnotation extends ParentClass {
    @Override
    public void method() throws AWTException, SQLException, FileNotFoundException,
            EOFException, FileAlreadyExistsException {
        super.method();
    }
}

class ParentClass {
    public void method() throws AWTException, SQLException,
    FileNotFoundException, EOFException, FileAlreadyExistsException {}
}