org.deegree.services.controller.exception.serializer
Interface ExceptionSerializer<T extends OWSException>

Type Parameters:
T - the exception which will be serialized, a subtype of ControllerException
All Known Implementing Classes:
NamespacelessOWSExceptionXMLAdapter, OGCExceptionXMLAdapter, OWSException100XMLAdapter, OWSException110XMLAdapter, OWSException120XMLAdapter, ServiceException120XMLAdapter, SOAPExceptionSerializer, XMLExceptionSerializer

public interface ExceptionSerializer<T extends OWSException>

The ExceptionSerializer class TODO add class documentation here.

Version:
$Revision: 31688 $, $Date: 2011-08-30 15:05:12 +0200 (Tue, 30 Aug 2011) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Method Summary
 void serializeException(OutputStream outputStream, T exception, String requestedEncoding)
          An implementation of this method shall format the given exception and write it to the stream.
 

Method Detail

serializeException

void serializeException(OutputStream outputStream,
                        T exception,
                        String requestedEncoding)
                        throws IOException
An implementation of this method shall format the given exception and write it to the stream.

Parameters:
outputStream - to write the implementation specific format to.
exception - to write, must be a subtype of ControllerException
requestedEncoding - of the stream
Throws:
IOException - if an error occurred while writing to the stream.


Copyright © 2011. All Rights Reserved.