// FIXME: We cannot assume the exception will have a databinding set
DataBinding targetDataBinding = mediator.getDataBindings().getDataBinding(exceptionType.getDataBinding());
if (targetDataBinding == null) {
return null;
}
ExceptionHandler targetHandler = targetDataBinding.getExceptionHandler();
if (targetHandler == null) {
return null;
}
return targetHandler.getFaultType(exceptionType);
}