A question about WebServices

xiaoxiao2021-03-06  41

Import java.io. *; import org.xml.sax. *; // Import org.xml.sax.saxException; import org.xml.sax.helpers.defaulthandler; import javax.xml.parsers.saxparserfactory; import javax. Xml.Parsers.ParserConfigurationException; import javax.xml.parsers.saxparser;

public class Echo extends DefaultHandler {public static void main (String argv []) {} private void emit (String s) throw SAXException {} private void nl () throw SAXException {}} I simplified function, I catalog compiler javac echo.java then error: ";" Expected Private Void Emit (String s) throw saxexception () I checked ORG.XML.SAX.saxException exists. I hope that what is this?

转载请注明原文地址:https://www.9cbs.com/read-75240.html

New Post(0)