I have this method that throws exception
public String Pipeit() throws TransformerException,
TransformerConfigurationException,SAXException, IOException
i tried calling this method from a GUI
Pipe P = new Pipe (fname,x1name,x2name,x3name,oname);
view.setText(P.Pipeit()throws TransformerConfigurationException,SAXException,
IOException))
It kept giving this error
- ‘)’ is expected.
Here’s one way to write this with correct syntax: