private void handleIOException()

in tiles-request-api/src/main/java/org/apache/tiles/request/render/PublisherRenderer.java [85:100]


    private void handleIOException(IOException exception, Request request) throws IOException{
        IOException ex = exception;
        boolean throwIt = listeners.isEmpty();
        for(RendererListener listener : listenersReversed){
            try{
                listener.handleIOException(ex, request);
                throwIt = false;
            }catch(IOException newEx){
                ex = newEx;
                throwIt = true;
            }
        }
        if(throwIt){
            throw ex;
        }
    }