public class OWSExceptionWriter extends Object
Utility class to serialize an OWS exception to XML
Constructor and Description |
---|
OWSExceptionWriter() |
Modifier and Type | Method and Description |
---|---|
Element |
buildXML(OWSException e)
Creates an ExceptionReport XML element containing the list
of exception as specified in OWS Common
|
void |
writeException(OutputStream os,
OWSException e)
Creates an OWS XML exception and serializes it to the output stream
|
protected DOMHelper dom
public Element buildXML(OWSException e)
e
- instance of OWSException or OWSExceptionReportpublic void writeException(OutputStream os, OWSException e)
os
- e
- Copyright © 2016 Sensia Software LLC. All rights reserved.