Interface ExceptionSerializer
- All Known Implementing Classes:
ExceptionAsString
,ExceptionAsXml
public interface ExceptionSerializer
Use with
ExceptionReportService
to write the exception as part of the message.-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(Exception e, AdaptrisMessage msg) Serialize the exception into the adaptris message.
-
Method Details
-
serialize
Serialize the exception into the adaptris message.- Parameters:
e
- the exceptionmsg
- the message- Throws:
CoreException
- wrapping other exceptions.
-