|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.exception.matching.MatcherBasedExceptionGroup
public class MatcherBasedExceptionGroup
Default implementation of ExceptionGroup uses a TypeSafeMatcher
to determine if the given Throwable is a member if this grouping
| Constructor Summary | |
|---|---|
MatcherBasedExceptionGroup(org.hamcrest.Matcher<?> matcher,
IkasanExceptionAction action)
Constructor |
|
| Method Summary | |
|---|---|
IkasanExceptionAction |
getAction()
Accessor for bound IkasanExceptionAction |
boolean |
includes(Throwable throwable)
Determines if the given Throwable is a member of this logical group |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MatcherBasedExceptionGroup(org.hamcrest.Matcher<?> matcher,
IkasanExceptionAction action)
matcher - action - | Method Detail |
|---|
public IkasanExceptionAction getAction()
ExceptionGroup
getAction in interface ExceptionGrouppublic boolean includes(Throwable throwable)
ExceptionGroup
includes in interface ExceptionGrouppublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||