Skip to content
Browse files

fix regression in BehaviorSpace error handling (fixes #90)

  • Loading branch information...
1 parent e315867 commit e08a6a8f8ebe24bedba117da12ceb7a82d4ea7b0 @SethTisue SethTisue committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/org/nlogo/lab/Worker.scala
View
4 src/main/org/nlogo/lab/Worker.scala
@@ -4,7 +4,7 @@ package org.nlogo.lab
import java.util.concurrent.{Callable, Executors, TimeUnit}
import org.nlogo.agent.Observer
-import org.nlogo.api.{Dump,
+import org.nlogo.api.{Dump,LogoException,
WorldDimensions, WorldDimensionException, SimpleJobOwner}
import org.nlogo.nvm.{LabInterface, Workspace}
import org.nlogo.util.MersenneTwisterFast
@@ -74,7 +74,7 @@ class Worker(val protocol: Protocol)
class Runner(runNumber: Int, settings: List[Pair[String, Any]], fn: ()=>Workspace)
extends Callable[Unit]
{
- class FailedException(message: String) extends RuntimeException(message)
+ class FailedException(message: String) extends LogoException(message)
private def owner(rng: MersenneTwisterFast) =
new SimpleJobOwner("BehaviorSpace", rng, classOf[Observer])
@volatile var aborted = false

0 comments on commit e08a6a8

Please sign in to comment.
Something went wrong with that request. Please try again.