public void onRestError(Throwable ex,
RequestContext requestContext,
Map<String, String> wireAttrs,
NextFilter<RestRequest, RestResponse> nextFilter)
{
final Filter filter = _filter;
if (filter instanceof RestResponseFilter)
{
((RestResponseFilter) filter).onRestError(ex, requestContext, wireAttrs, nextFilter);
}
else