public class ExceptionTypeFilter extends PayloadTypeFilter
Constructor and Description |
---|
ExceptionTypeFilter() |
ExceptionTypeFilter(Class expectedType) |
ExceptionTypeFilter(String expectedType) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(MuleMessage message)
Check a given message against this filter.
|
equals, getExpectedType, hashCode, setExpectedType
public ExceptionTypeFilter()
public ExceptionTypeFilter(String expectedType) throws ClassNotFoundException
ClassNotFoundException
public ExceptionTypeFilter(Class expectedType)
public boolean accept(MuleMessage message)
accept
in interface Filter
accept
in class PayloadTypeFilter
message
- a non null message to filter.true
if the message matches the filterCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.