aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/main/java/com/yahoo/jdisc/test/NonWorkingCompletionHandler.java
blob: 3639e7f9216e2bc25eeed23b13192beabffbd139 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.test;

import com.yahoo.jdisc.handler.CompletionHandler;

/**
 * @author Simon Thoresen Hult
 */
public final class NonWorkingCompletionHandler implements CompletionHandler {

    @Override
    public void completed() {
        throw new UnsupportedOperationException();
    }

    @Override
    public void failed(Throwable t) {
        throw new UnsupportedOperationException();
    }
}