jInfer

cz.cuni.mff.ksi.jinfer.xsdimportsax.utils
Class SAXInterruptChecker

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.xsdimportsax.utils.SAXInterruptChecker

public final class SAXInterruptChecker
extends Object

Helper class to provide checking for thread interrupt, specialized for SAX parser. SAX parser can only throw SAXException, therefore we must wrap the interrupt and check for it specifically.


Method Summary
static void checkInterrupt()
          Checks if this thread has been interrupted and throws an InterruptedException accordingly or does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkInterrupt

public static void checkInterrupt()
                           throws SAXInterruptedException
Checks if this thread has been interrupted and throws an InterruptedException accordingly or does nothing.

Throws:
SAXInterruptedException

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011