Code example for SAXException

Methods: getException

0
            return; 
        } 
        catch (SAXException saxe)
        { 
            Exception e = saxe;
            if (saxe.getException() != null)
                e = saxe.getException();
            e.printStackTrace();
        } 
        catch (IOException e)
        { 
            System.err.println(e.getMessage());
            e.printStackTrace();
        } 
        createEmptyDocument(); 
    } 
 
    private static void createEmptyDocument() 
    { 
        assert s_builder != null;
Experience pair programming with AI  Get Codota for Java