org.deegree.services.controller.exception.serializer
Interface ExceptionSerializer<T extends ControllerException>
- 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 ControllerException>
The ExceptionSerializer
class TODO add class documentation here.
- Version:
- $Revision: 18171 $, $Date: 2009-06-17 16:00:07 +0200 (Mi, 17. Jun 2009) $
- Author:
- Rutger Bezema, last edited by: $Author: mschneider $
Method Summary |
void |
serializeException(java.io.OutputStream outputStream,
T exception,
java.lang.String requestedEncoding)
An implementation of this method shall format the given exception and write it to the stream. |
serializeException
void serializeException(java.io.OutputStream outputStream,
T exception,
java.lang.String requestedEncoding)
throws java.io.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:
java.io.IOException
- if an error occurred while writing to the stream.
Copyright © 2011. All Rights Reserved.