public class ExceptionMapping extends Object implements Comparable<ExceptionMapping>
Exception type and an ErrorType.| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ExceptionMapping exceptionMapping) |
org.mule.runtime.api.message.ErrorType |
getErrorType() |
boolean |
matches(Class<? extends Throwable> exception) |
public boolean matches(Class<? extends Throwable> exception)
exception - exception to check if it matches with this mapping.public org.mule.runtime.api.message.ErrorType getErrorType()
public int compareTo(ExceptionMapping exceptionMapping)
compareTo in interface Comparable<ExceptionMapping>Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.