|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jph.channels.process.ThrowingProcessExceptionHandler<M>
public final class ThrowingProcessExceptionHandler<M>
The ThrowingProcessExceptionHandler is an ProcessExceptionHandler that throws a RuntimeException if something went wrong while processing a message.
Explain: when to use it. What should and could be done with a RuntimeException? It this class at all usefull?
| Constructor Summary | |
|---|---|
ThrowingProcessExceptionHandler()
|
|
| Method Summary | |
|---|---|
void |
handleError(ProcessingOutputChannel channel,
M msg,
java.lang.Exception ex)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThrowingProcessExceptionHandler()
| Method Detail |
|---|
public void handleError(ProcessingOutputChannel channel,
M msg,
java.lang.Exception ex)
handleError in interface ProcessExceptionHandler<M>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||