gpars.actor.impl
[Java] Class ActorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
gpars.actor.impl.ActorException
public abstract class ActorException
extends RuntimeException
Pooled actors need to simulate continuations to create stacktrace-less chunks of work (ActorActions) to assign
to the threads from the pool. To achieve this ActorActions throw exceptions to terminate the current chuck of work
and allow another chunk of work on the same actor to begin.
ActorAction is a parent to these exception. It also holds initialized instances of each of the concrete subclasses
to avoid need for exception object creation each time.
- Authors:
- Vaclav Pech, Alex Tkachman
Date: Feb 17, 2009
Methods inherited from class RuntimeException
|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Methods inherited from class Exception
|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
CONTINUE
public static final ActorException CONTINUE
-
STOP
public static final ActorException STOP
-
TERMINATE
public static final ActorException TERMINATE
-
TIMEOUT
public static final ActorException TIMEOUT
-
Groovy Documentation