result = plugin.execute(request);
} catch (Exception e) {
IErrorResult errorResult = getDefaultErrorResult();
if (errorResult == null) {
result = new ErrorResult(request, e);
} else {
errorResult.putError(request, e);
result = errorResult;
}
if (e instanceof CapMessageException) {