aboutsummaryrefslogtreecommitdiffstats
path: root/bundle-plugin/src/test/java/com/yahoo/container/plugin/classanalysis/sampleclasses/CatchException.java
blob: 200640968bf222c41db824317151eeca99cf4db3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. 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 Tony Vaagenes
 */
public class CatchException {
    void ignored() throws Exception{
        try {
            throw new Exception("dummy");
        } catch(LoginException classToDetect) {}
    }
}