01: package com.uwyn.rife.continuations.exceptions;
02:
03: import com.uwyn.rife.tools.exceptions.ControlFlowRuntimeException;
04:
05: /**
06: * Thrown when the active continuation runtime configuration isn't set.
07: *
08: * @author Geert Bevin (gbevin[remove] at uwyn dot com)
09: * @version $Revision: 3813 $
10: * @since 1.6
11: */
12: public class MissingActiveContinuationConfigRuntimeException extends
13: RuntimeException implements ControlFlowRuntimeException {
14: private static final long serialVersionUID = 7401871623085473212L;
15:
16: /**
17: * Instantiates a new exception.
18: *
19: * @since 1.6
20: */
21: public MissingActiveContinuationConfigRuntimeException() {
22: super (
23: "The active ContinuationConfigRuntime instance is not set, this is required for continuations to be able to execute. Always call ContinuationConfigRuntime.setActiveConfigRuntime(config) in your continuations runner before executing the ContinuableObject.");
24: }
25: }
|