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

/**
 * This exception is used to signal that no {@link Application} has been configured. An instance of this class will be
 * thrown by the {@link ContainerActivator#activateContainer(ContainerBuilder)} method if it is called before the call
 * to {@link Application#start()} or after the call to {@link Application#stop()}.
 *
 * @author Simon Thoresen Hult
 */
public final class ApplicationNotReadyException extends RuntimeException {

    /**
     * Constructs a new instance of this class with a detail message.
     */
    public ApplicationNotReadyException() {
        super("Application not ready.");
    }
}