*/
public abstract class AbstractClusteredHandleInterceptor implements HandleInterceptor {
public void handle(String pathInContext, String pathParams, HttpRequest httpRequest, HttpResponse httpResponse,
HandleInterceptor end) throws HttpException, IOException {
ClusteredInvocation invocation =
newClusteredInvocation(pathInContext, pathParams, httpRequest, httpResponse, end);
try {
invocation.invoke();
} catch (ClusteredInvocationException e) {
Throwable cause = e.getCause();
if (cause instanceof HttpException) {
throw (HttpException) cause;
} else if (cause instanceof IOException) {