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: ControlFlowRuntimeException.java 3784 2007-06-11 16:44:35Z gbevin $
07: */
08: package com.uwyn.rife.tools.exceptions;
09:
10: /**
11: * This is a marker interface to make it possible to throw runtime exceptions
12: * that have to be treated as expected and 'positive'. The purpose is for
13: * code that receives them to act correspondingly. For instance, if this is
14: * used inside a transaction without forcing a rollback, the transaction
15: * handler should commit when the exception is caught and afterwards rethrow
16: * the exception.
17: *
18: * @author Geert Bevin (gbevin[remove] at uwyn dot com)
19: * @version $Revision: 3784 $
20: * @since 1.6
21: */
22: public interface ControlFlowRuntimeException {
23: }
|