KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > taskman > TestTxErrTask


1 package org.sapia.taskman;
2
3 /**
4  * @author Yanick Duchesne
5  *
6  * <dl>
7  * <dt><b>Copyright: </b>
8  * <dd>Copyright &#169; 2002-2004 <a HREF="http://www.sapia-oss.org">Sapia Open
9  * Source Software </a>. All Rights Reserved.</dd>
10  * </dt>
11  * <dt><b>License: </b>
12  * <dd>Read the license.txt file of the jar or visit the <a
13  * HREF="http://www.sapia-oss.org/license.html">license page </a> at the Sapia
14  * OSS web site</dd>
15  * </dt>
16  * </dl>
17  */

18 public class TestTxErrTask implements Task {
19   public TestTxErrTask() {
20   }
21
22   /**
23    * @see org.sapia.taskman.Task#exec(org.sapia.taskman.TaskContext)
24    */

25   public void exec(TaskContext ctx) {
26     ctx.getTaskOutput().error("error");
27   }
28 }
29
Popular Tags