summaryrefslogtreecommitdiffstats
path: root/bundle-plugin/src/test/java/com/yahoo/container/plugin/classanalysis/sampleclasses/CatchException.java
blob: 1029de707c86d8fe060ebf7c683ece66ae7804a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.container.plugin.classanalysis.sampleclasses;

import javax.security.auth.login.LoginException;

/**
 * @author tonytv
 */
public class CatchException {
    void ignored() throws Exception{
        try {
            throw new Exception("dummy");
        } catch(LoginException classToDetect) {}
    }
}