01: /* Copyright 2001 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.utils.threading;
07:
08: /**
09: * A task which can be executed asynchronously
10: * @author Aaron Hamid (arh14 at cornell dot edu)
11: */
12: public interface Task extends Runnable {
13: /**
14: * Returns the exception that occurred during execution, if any
15: * @return the exception that occurred during execution, if any
16: */
17: Exception getException();
18: }
|