Code example for FileNotFoundException

Methods: getMessage

0
		OutputStream outStream = null;
		try { 
			outStream = new FileOutputStream(outFile);
			save(outStream, flags);
		} catch (FileNotFoundException e) {
			throw new Docx4JException("Exception creating output stream: " + e.getMessage(), e);
		} 
		finally { 
			if (outStream != null) {
				try { 
					outStream.close();
				} catch (IOException e) {}
				outStream = null;
			} 
		} 
		 
	}	 
 
	/** 
	 *  Save this pkg to an OutputStream in the usual zipped up format