Code example for SAXNotSupportedException

Methods: getMessage

0
			throw new PEException( 
					"SAXDOMParser: Parser does not recognize a required feature"); 
		} catch (SAXNotSupportedException e) {
			throw new PEException( 
					"SAXDOMParser: Parser does not support a required feature: " 
							+ e.getMessage());
		} catch (SAXException e) {
			// parsing error 
			throw new PEException("Got unknown SAX Exception: " + e);
		} 
	} 
 
	public void parse(InputSource is) throws SAXException, IOException {
		reset(); 
		parser.parse(is, this);
 
		setPage(null); 
	} 
 
	public void reset() { 
		doc = null;