blob: fbd5f1b00c6246b435a098be75f9a6e869b23905 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2016 Yahoo Inc. 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 <a href="mailto:simon@yahoo-inc.com">Simon Thoresen</a>
*/
public final class ApplicationNotReadyException extends RuntimeException {
/**
* Constructs a new instance of this class with a detail message.
*/
public ApplicationNotReadyException() {
super("Application not ready.");
}
}
|