|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException groovyx.gpars.actor.impl.ActorException
public class ActorException
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 | |
---|---|
private static long |
serialVersionUID
|
static ActorException |
STOP
|
static ActorException |
TERMINATE
|
Constructor Summary | |
---|---|
ActorException()
|
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static final ActorException TERMINATE
public static final ActorException STOP
Constructor Detail |
---|
ActorException()
|
Copyright © 2008–2010 Václav Pech. All Rights Reserved. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |