|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.exception.matching.MatchingExceptionHandler
public class MatchingExceptionHandler
Implementation of IkasanExceptionHandler that relies on a configuration of ExceptionGroups
to match Throwables and apply Exception Actions
Includes ability so set rules that are either specific to named components, on non specific
| Constructor Summary | |
|---|---|
MatchingExceptionHandler(List<ExceptionGroup> exceptionGroupings)
Constructor |
|
MatchingExceptionHandler(List<ExceptionGroup> exceptionGroupings,
Map<String,List<ExceptionGroup>> componentExceptionGroupings)
Constructor |
|
| Method Summary | |
|---|---|
IkasanExceptionAction |
handleThrowable(String componentName,
Throwable throwable)
Push an exception that occurred outside the scope of handling a data event to the Exception Handler |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MatchingExceptionHandler(List<ExceptionGroup> exceptionGroupings,
Map<String,List<ExceptionGroup>> componentExceptionGroupings)
exceptionGroupings - componentExceptionGroupings - public MatchingExceptionHandler(List<ExceptionGroup> exceptionGroupings)
exceptionGroupings - | Method Detail |
|---|
public IkasanExceptionAction handleThrowable(String componentName,
Throwable throwable)
IkasanExceptionHandler
handleThrowable in interface IkasanExceptionHandlercomponentName - name of the component within which the exception occurredthrowable - The exception
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||