Code example for LSException

Methods: getCause

0
      { 
        return parser.parse(input);
      } 
    catch (LSException e)
      { 
        Throwable e2 = e.getCause();
        if (e2 instanceof IOException)
          throw (IOException) e2;
        else 
          throw e;
      } 
  } 
 
  public Document parse(InputStream in, String systemId)
    throws SAXException, IOException 
  { 
    LSInput input = ls.createLSInput();
    input.setByteStream(in);
    input.setSystemId(systemId);
    try 
Contextual code suggestions in your IDE  Get Codota for Java