Code example for InterruptedIOException

0
			if (nr > 0)
				getProgressMonitor().setProgress(override_nread += nr);
			if (getProgressMonitor().isCanceled()) 
			{ 
				_importCancelled = true;
				InterruptedIOException exc = new InterruptedIOException("progress");
				throw exc;
			} 
			return nr;
		} 
	} 
 
	/** 
	 * read in this whole file 
	 */ 
	public boolean canImportThisFile(String theFile)
	{ 
		boolean res = false;
		String theSuffix = null;
		int pos = theFile.lastIndexOf(".");
		theSuffix = theFile.substring(pos, theFile.length()).toUpperCase();