01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: ContinuableSupport.java 3811 2007-06-25 15:06:16Z gbevin $
07: */
08: package com.uwyn.rife.continuations;
09:
10: public class ContinuableSupport {
11: public final void pause() {
12: // this should not be triggered, since bytecode rewriting will replace this
13: // method call with the appropriate logic
14: throw new UnsupportedOperationException();
15: }
16:
17: public final void stepback() {
18: // this should not be triggered, since bytecode rewriting will replace this
19: // method call with the appropriate logic
20: throw new UnsupportedOperationException();
21: }
22:
23: public final Object call(Class target) {
24: // this should not be triggered, since bytecode rewriting will replace this
25: // method call with the appropriate logic
26: throw new UnsupportedOperationException();
27: }
28:
29: public final void answer() {
30: // this should not be triggered, since bytecode rewriting will replace this
31: // method call with the appropriate logic
32: throw new UnsupportedOperationException();
33: }
34:
35: public final void answer(Object answer) {
36: // this should not be triggered, since bytecode rewriting will replace this
37: // method call with the appropriate logic
38: throw new UnsupportedOperationException();
39: }
40: }
|