incubator-droids-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r1452500 - in /incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core: AbstractDroid.java Droid.java
Date Mon, 04 Mar 2013 20:40:19 GMT
Author: thorsten
Date: Mon Mar  4 20:40:18 2013
New Revision: 1452500

URL: http://svn.apache.org/r1452500
Log:
Allow that the start method can throw droidsExceptions

Modified:
    incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java
    incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java

Modified: incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java?rev=1452500&r1=1452499&r2=1452500&view=diff
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java
(original)
+++ incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java
Mon Mar  4 20:40:18 2013
@@ -110,7 +110,7 @@ public abstract class AbstractDroid<T ex
 
 
     @Override
-    public void start() {
+    public void start() throws DroidsException {
         taskMaster.start(queue, this);
         try {
             taskMaster.awaitTermination(1000, TimeUnit.MILLISECONDS);

Modified: incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java?rev=1452500&r1=1452499&r2=1452500&view=diff
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java
(original)
+++ incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java
Mon Mar  4 20:40:18 2013
@@ -32,8 +32,9 @@ public interface Droid<T extends Task> {
     /**
      * Start the droid with checking the preconditions and
      * initializing the taskmaster with the initial tasks
+     * @throws DroidsException 
      */
-    public void start();
+    public void start() throws DroidsException;
 
     /**
      * Stop the droid which will then stop the taskmaster 



Mime
View raw message