|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
gpars.actor.impl.ActorException
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.
Field Summary | |
---|---|
static ActorException |
CONTINUE
|
static ActorException |
STOP
|
static ActorException |
TERMINATE
|
static ActorException |
TIMEOUT
|
Constructor Summary | |
ActorException()
|
Method Summary |
---|
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 |
Methods inherited from class Throwable | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
static final ActorException CONTINUE
static final ActorException STOP
static final ActorException TERMINATE
static final ActorException TIMEOUT
Constructor Detail |
---|
public ActorException()
Groovy Documentation