Search in sources :

Example 11 with SAXParseException2

use of com.sun.istack.SAXParseException2 in project metro-jax-ws by eclipse-ee4j.

the class WSDLModeler method reportError.

private void reportError(Entity entity, String formattedMsg, Exception nestedException) {
    Locator locator = (entity == null) ? null : entity.getLocator();
    SAXParseException e = new SAXParseException2(formattedMsg, locator, nestedException);
    errReceiver.error(e);
}
Also used : Locator(org.xml.sax.Locator) SAXParseException2(com.sun.istack.SAXParseException2) SAXParseException(org.xml.sax.SAXParseException)

Aggregations

SAXParseException2 (com.sun.istack.SAXParseException2)11 SAXParseException (org.xml.sax.SAXParseException)7 IOException (java.io.IOException)4 SAXException (org.xml.sax.SAXException)3 AbortException (com.sun.tools.xjc.AbortException)2 ErrorReceiverFilter (com.sun.tools.xjc.util.ErrorReceiverFilter)2 URI (java.net.URI)2 URISyntaxException (java.net.URISyntaxException)2 JsonParseException (com.fasterxml.jackson.core.JsonParseException)1 JsonMappingException (com.fasterxml.jackson.databind.JsonMappingException)1 JCodeModel (com.sun.codemodel.JCodeModel)1 Model (com.sun.tools.xjc.model.Model)1 ModelChecker (com.sun.tools.xjc.reader.ModelChecker)1 Ring (com.sun.tools.xjc.reader.Ring)1 ForkContentHandler (com.sun.tools.xjc.util.ForkContentHandler)1 DTDParser (com.sun.xml.dtdparser.DTDParser)1 File (java.io.File)1 URL (java.net.URL)1 ArrayList (java.util.ArrayList)1 WebApplicationException (javax.ws.rs.WebApplicationException)1