From 5f4f5823a6d05fc10edb1e2e70a382e9fa2396e2 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Thu, 3 Oct 2002 03:37:26 +0000 Subject: [PATCH] Rethrow InterruptedException directly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@195280 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/xml/SyncedXmlEventsBuffer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/apache/fop/xml/SyncedXmlEventsBuffer.java b/src/org/apache/fop/xml/SyncedXmlEventsBuffer.java index f8f713771..bc090a839 100644 --- a/src/org/apache/fop/xml/SyncedXmlEventsBuffer.java +++ b/src/org/apache/fop/xml/SyncedXmlEventsBuffer.java @@ -72,7 +72,7 @@ public class SyncedXmlEventsBuffer extends SyncedCircularBuffer { //System.out.println("getEvent: " + ev); return ev; } catch (InterruptedException e) { - throw new FOPException("InterruptedException"); + throw new FOPException(e); } } @@ -221,6 +221,7 @@ public class SyncedXmlEventsBuffer extends SyncedCircularBuffer { public XMLEvent expectStartElement(int uriIndex, String localName) throws FOPException { + //System.out.println("In expectStartElement.................."); XMLEvent ev = getEvent(); if (ev != null && (ev.type == XMLEvent.STARTELEMENT -- 2.39.5