public class MessageStripExceptions<M extends Message> extends SingleSender<M> implements MessageReceiver<M>
| Modifier and Type | Field and Description |
|---|---|
protected static StackTraceElement[] |
emptyStackTrace |
protected boolean |
total |
receiver| Constructor and Description |
|---|
MessageStripExceptions(MessageReceiver<? super M> d,
boolean total) |
| Modifier and Type | Method and Description |
|---|---|
void |
receive(M m)
FIXME should propagate a CLONE in case a pointer is altered !!
|
getReceiver, send, setReceiverprotected boolean total
protected static final StackTraceElement[] emptyStackTrace
public MessageStripExceptions(MessageReceiver<? super M> d, boolean total)
total - whether exceptions are stripped off totally, or only their
stack trace.public void receive(M m)
receive in interface MessageReceiver<M extends Message>see also the complete user documentation .