Search in sources :

Example 11 with SaxException

use of nl.nn.adapterframework.xml.SaxException in project iaf by ibissource.

the class JsonWriter method endArray.

@Override
public void endArray() throws SAXException {
    try {
        stateStack.pop();
        writer.write("]");
    } catch (IOException e) {
        throw new SaxException(e);
    }
}
Also used : SaxException(nl.nn.adapterframework.xml.SaxException) IOException(java.io.IOException)

Example 12 with SaxException

use of nl.nn.adapterframework.xml.SaxException in project iaf by ibissource.

the class JsonWriter method endObject.

@Override
public void endObject() throws SAXException {
    try {
        stateStack.pop();
        writer.write("}");
    } catch (IOException e) {
        throw new SaxException(e);
    }
}
Also used : SaxException(nl.nn.adapterframework.xml.SaxException) IOException(java.io.IOException)

Aggregations

SaxException (nl.nn.adapterframework.xml.SaxException)12 IOException (java.io.IOException)8 SAXException (org.xml.sax.SAXException)4 ParserConfigurationException (javax.xml.parsers.ParserConfigurationException)3 XMLReader (org.xml.sax.XMLReader)3 TransformerConfigurationException (javax.xml.transform.TransformerConfigurationException)2 ConfigurationException (nl.nn.adapterframework.configuration.ConfigurationException)2 SenderException (nl.nn.adapterframework.core.SenderException)2 TimeoutException (nl.nn.adapterframework.core.TimeoutException)2 TransformerFilter (nl.nn.adapterframework.xml.TransformerFilter)2 FileInputStream (java.io.FileInputStream)1 FileNotFoundException (java.io.FileNotFoundException)1 InputStream (java.io.InputStream)1 URL (java.net.URL)1 SAXParser (javax.xml.parsers.SAXParser)1 SAXParserFactory (javax.xml.parsers.SAXParserFactory)1 TransformerException (javax.xml.transform.TransformerException)1 PipeLineSession (nl.nn.adapterframework.core.PipeLineSession)1 PipeStartException (nl.nn.adapterframework.core.PipeStartException)1 Resource (nl.nn.adapterframework.core.Resource)1