1 /*
2 * Copyright (C) The Spice Group. All rights reserved.
3 *
4 * This software is published under the terms of the Spice
5 * Software License version 1.1, a copy of which has been included
6 * with this distribution in the LICENSE.txt file.
7 */
8 package org.jcomponent.threadpool;
9
10 /***
11 * The Executable can be implemented by components that need to perform
12 * some work. In many respects it is similar to Runnable except that it
13 * also allows an application to throw a non-Runtime Exception.
14 *
15 * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
16 * @version $Revision: 1.1 $ $Date: 2003/07/13 18:03:03 $
17 */
18 public interface Executable
19 {
20 /***
21 * Execute the action.
22 *
23 * @throws Exception if an error occurs
24 */
25 void execute()
26 throws Exception;
27 }
This page was automatically generated by Maven