blob: 92ed2b5827e78b2600fbcf7015f1c421acad204f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2017 Yahoo Holdings. 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.");
}
}
|